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