Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

let not working in for with continue #9315

Closed
mikalai-sauchanka opened this issue Mar 2, 2015 · 1 comment
Closed

let not working in for with continue #9315

mikalai-sauchanka opened this issue Mar 2, 2015 · 1 comment

Comments

@mikalai-sauchanka
Copy link

node 0.12.0. Currently this code runs infinitely (i is always 1):

'use strict';

for (let i = 0; i < 2; i++) {
    console.log(i);
    continue;
}
@cjihrig
Copy link

cjihrig commented Mar 2, 2015

Closing as a duplicate of #9113

@cjihrig cjihrig closed this as completed Mar 2, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants