implement new and improved let scoping - fixes #91, fixes #102, fixes #124

This commit is contained in:
Sebastian McKenzie
2014-11-04 14:59:44 +11:00
parent d1088583ba
commit 287cbbb6a1
23 changed files with 404 additions and 122 deletions

View File

@@ -1,7 +1,7 @@
"use strict";
var _MULTIPLIER = 5;
var MULTIPLIER = 5;
for (var i in arr) {
console.log(arr[i] * _MULTIPLIER);
}
console.log(arr[i] * MULTIPLIER);
}