On 3/31/08, Lars Hansen <[EMAIL PROTECTED]> wrote: > > Having thought more about this, we may get away with less > draconian measures for lexically scoped eval -- it's enough > to simply decree that eval may not add bindings to the > caller's binding object in strict mode (a simple run-time check, > effectively the same as disabling global variable auto-creation). > > The observation is that reference forms like expr::[expr] require > the same functionality as the constrained, lexically scoped eval > would require anyway, so the benefit of outlawing eval except for > matters of taste is doubtful both in terms of implementation cost > and simplified semantics.
Lars, does this mean that expr::[expr] can't introduce lexical bindings? Or: in strict mode, it can't, but in standard it can? _______________________________________________ Es4-discuss mailing list Es4-discuss@mozilla.org https://mail.mozilla.org/listinfo/es4-discuss