A follow up from https://github.com/babel/babel/pull/2969 were we added support for consts in the block-scoping plugin.
4 lines
58 B
JavaScript
4 lines
58 B
JavaScript
for (const i = 0; i < 3; i = i + 1) {
|
|
console.log(i);
|
|
}
|