Sign in
cobalt
/
cobalt
/
308ed6b84664d59944cd65f4b4359c28a2443be6
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
tests
/
ecma_6
/
Class
/
derivedConstructorArrowEvalEscape.js
blob: 2676d4b94613c2611e8190000aa58916c193618b [
file
] [
log
] [
blame
]
let arrow
;
class
foo extends
class
{
}
{
constructor
()
{
arrow
=
()
=>
this
;
super
();
}
}
assertEq
(
new
foo
(),
arrow
());
if
(
typeof
reportCompare
===
'function'
)
reportCompare
(
0
,
0
,
"OK"
);