remove block binding because the current implementation is flaky and will have to be rewritten from scratch without the issue of wrapping functions
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
var i;
|
||||
(function () {
|
||||
var MULTIPLIER = 5;
|
||||
for (i in arr) {
|
||||
console.log(arr[i] * MULTIPLIER);
|
||||
}
|
||||
}());
|
||||
let MULTIPLIER = 5;
|
||||
|
||||
for (var i in arr) {
|
||||
console.log(arr[i] * MULTIPLIER);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user