Sign in
webkit
/
WebKit
/
fff5469af9e21121a01bc52b64d66a2e93b51665
/
.
/
JSTests
/
stress
/
class-syntax-no-tdz-in-loop.js
blob: 574bc1076e019d1b0aa562056cb8a721ccf0e813 [
file
] [
log
] [
blame
]
class
A
{
constructor
()
{
}
}
class
B extends A
{
constructor
()
{
var
values
=
[];
for
(
var
j
=
0
;
j
<
100
;
j
++)
{
if
(
j
==
1
)
super
();
else
if
(
j
>
2
)
this
;
else
values
.
push
(
i
);
}
}
}
noInline
(
B
);
for
(
var
i
=
0
;
i
<
10000
;
++
i
)
new
B
();