WSL should have more tests of type checking failures
[WebKit-https.git] / JSTests / es6 / let_for-loop_statement_scope.js
1 function test() {
2
3 let baz = 1;
4 for(let baz = 0; false; false) {}
5 return baz === 1;
6       
7 }
8
9 if (!test())
10     throw new Error("Test failed");
11