6 ms·
One of his strategies (from the README on Github) is "favoring static compilation rather than a runtime interpreter", so I suspect that `eval` is not included i
by noahlt 16y ago
One of his strategies (from the README on Github) is "favoring static compilation rather than a runtime interpreter", so I suspect that `eval` is not included in Mug.
However, `apply` is included (cf. test/regression.js line 19). So your example pseudocode could probably be written like this:
for (var i = 1; i <= 10; i++) {
var f = function() {
print("I'm " + i.toString());
};
f();
}