Sign in
webkit
/
WebKit
/
e1a82001cfdab62c438e943f37ce20f74c8e0820
/
.
/
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
();