A follow up from https://github.com/babel/babel/pull/2969 were we added support for consts in the block-scoping plugin.
5 lines
81 B
JavaScript
5 lines
81 B
JavaScript
for (var i in arr) {
|
|
var MULTIPLIER = 5;
|
|
console.log(arr[i] * MULTIPLIER);
|
|
}
|