Sign in
cobalt
/
cobalt
/
c73ce7d5dfce7ae20bcc30efc5f220e0fbac12b1
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
tests
/
ecma_6
/
Class
/
derivedConstructorArrowEvalClosed.js
blob: 431a73c92f246317923cac2d627c9bb186936d5a [
file
] [
log
] [
blame
]
new
class
extends
class
{
}
{
constructor
()
{
let a1
=
()
=>
this
;
let a2
=
(()
=>
super
());
assertThrowsInstanceOf
(
a1
,
ReferenceError
);
assertEq
(
a2
(),
a1
());
}
}();
if
(
typeof
reportCompare
===
'function'
)
reportCompare
(
0
,
0
,
"OK"
);