Sign in
cobalt
/
cobalt
/
c73ce7d5dfce7ae20bcc30efc5f220e0fbac12b1
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
tests
/
ecma_6
/
Class
/
superPropHeavyweightArrow.js
blob: ce30690d539dd8b6403e6098c333c05bf20713e9 [
file
] [
log
] [
blame
]
class
foo
{
constructor
()
{
}
method
()
{
return
(()
=>
(
eval
(
''
),
super
.
toString
));
}
}
assertEq
(
new
foo
().
method
()(),
Object
.
prototype
.
toString
);
if
(
typeof
reportCompare
===
"function"
)
reportCompare
(
0
,
0
,
"OK"
);