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