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
/
destructuring_computed_properties.js
1
function test() {
2
3
var qux = "corge";
4
var { [qux]: grault } = { corge: "garply" };
5
return grault === "garply";
6
7
}
8
9
if (!test())
10
throw new Error("Test failed");
11