git://git.webkit.org
/
WebKit-https.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
WSL should have more tests of type checking failures
[WebKit-https.git]
/
JSTests
/
es6
/
Function_is_subclassable_Function.prototype.call.js
1
function test() {
2
3
class C extends Function {}
4
var c = new C("x", "return this.bar + x;");
5
return c.call({bar:1}, 2) === 3;
6
7
}
8
9
if (!test())
10
throw new Error("Test failed");
11