babel/test/fixtures/traceur/Scope/LetReinitializeInLoop.js
2015-01-04 19:40:09 +11:00

10 lines
118 B
JavaScript

(function() {
var i = 0;
while (i < 3) {
let x;
assert.equal(undefined, x);
x = i;
i++;
}
})();