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