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