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

@@ -0,0 +1,11 @@
"use strict";
domready(function () {
var a = 1;
var b = 1;
runIt();
function runIt() {
console.log(a + b);
}
});