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