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