Sign in
fuchsia
/
third_party
/
webkit
/
d1989a3d4b7a2a0094d2d64c0d64f3113ad54a95
/
.
/
JSTests
/
es6
/
Function_is_subclassable_Function.prototype.call.js
blob: 77ed438114374cfc682ec867b093b3a469a28d6d [
file
] [
log
] [
blame
]
function
test
()
{
class
C extends
Function
{}
var
c
=
new
C
(
"x"
,
"return this.bar + x;"
);
return
c
.
call
({
bar
:
1
},
2
)
===
3
;
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);