WSL should have more tests of type checking failures
[WebKit-https.git] / JSTests / es6 / destructuring_iterable_destructuring_expression.js
1 function test() {
2
3 var a, b, iterable = [1,2];
4 return ([a, b] = iterable) === iterable;
5       
6 }
7
8 if (!test())
9     throw new Error("Test failed");
10