Sign in
webkit
/
WebKit
/
43711d90c99db109e366d04cd30de99d008948e6
/
.
/
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"
);