Sign in
webkit
/
WebKit
/
36168652e4948b4e847a9c1caf1fabcf1810968f
/
.
/
JSTests
/
stress
/
class-syntax-no-tdz-in-eval.js
blob: 93bcd31b4c2696001a850903d74c8a33095cbeca [
file
] [
log
] [
blame
]
class
A
{
constructor
()
{
}
}
class
B extends A
{
constructor
(
shouldAccessThis
)
{
var
evalFunction
=
eval
;
evalFunction
(
"this"
);
eval
(
"shouldAccessThis ? this : null"
);
super
();
}
}
noInline
(
B
);
for
(
var
i
=
0
;
i
<
1e4
;
++
i
)
new
B
(
false
);