-
-
Notifications
You must be signed in to change notification settings - Fork 34.2k
Closed
Labels
invalidIssues and PRs that are invalid.Issues and PRs that are invalid.v8 engineIssues and PRs related to the V8 dependency.Issues and PRs related to the V8 dependency.
Description
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
Metadata
Metadata
Assignees
Labels
invalidIssues and PRs that are invalid.Issues and PRs that are invalid.v8 engineIssues and PRs related to the V8 dependency.Issues and PRs related to the V8 dependency.