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