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