Open GoogleCodeExporter opened 9 years ago
I don't see how we can wrap unless we also transform the code?
For example if the input code is something like this:
StatementsA
var glob = ExpressionB
StatementsC
and we wrap it we need to export the var. Something like this:
var glob;
function() {
StatementsA
glob = ExpressionB
StatementsC
}.call(this);
Original comment by arv@chromium.org
on 13 Nov 2012 at 9:52
Better if not best: make all the temps properties of one global __traceur.
Original comment by johnjbar...@chromium.org
on 13 Nov 2012 at 10:28
Original issue reported on code.google.com by
slightly...@google.com
on 17 Oct 2012 at 9:22