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_name_property_object_methods_class.js
1
function test() {
2
3
var o = { foo: class {}, bar: class baz {}};
4
o.qux = class {};
5
return o.foo.name === "foo" &&
6
o.bar.name === "baz" &&
7
o.qux.name === "";
8
9
}
10
11
if (!test())
12
throw new Error("Test failed");
13