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:
Sebastian McKenzie
2014-10-12 16:18:18 +11:00
parent 81924aee09
commit 52d4d73f0b
43 changed files with 54 additions and 453 deletions

View File

@@ -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);
}