Sign in
cobalt
/
cobalt
/
308ed6b84664d59944cd65f4b4359c28a2443be6
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
tests
/
ecma_6
/
Class
/
superPropEvalInsideArrow.js
blob: 882f93ba0aced7a2b9228b865ef0da8c632b2394 [
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"
);