This code:
let x = [ 1, 2, 3 ]
for (let x of x)
console.log(x)
works in iojs 2.4.0, but not in the branch next+1 (commit a6b6295).
Now it fails with:
ReferenceError: x is not defined
at Object.<anonymous> (/home/andy/programming/mason3/TEST/class.js:4:15)
at Module._compile (module.js:432:26)
at Object.Module._extensions..js (module.js:450:10)
at Module.load (module.js:353:32)
at Function.Module._load (module.js:308:12)
at Function.Module.runMain (module.js:473:10)
at startup (node.js:117:18)
at node.js:947:3
This code:
works in iojs 2.4.0, but not in the branch
next+1(commit a6b6295).Now it fails with: