Unscopeable

Erik Arvidsson erik.arvidsson at gmail.com
Wed Aug 21 07:47:53 PDT 2013


On Wed, Aug 21, 2013 at 10:05 AM, Anne van Kesteren <annevk at annevk.nl> wrote:
> On Wed, Aug 21, 2013 at 2:41 PM, Erik Arvidsson
> <erik.arvidsson at gmail.com> wrote:
>> On Wed, Aug 21, 2013 at 7:58 AM, Andreas Rossberg <rossberg at google.com> wrote:
>>> * How would it affect the global object? (At least currently, with
>>> scopes and the global scope share the same object environment
>>> mechanism.)
>>
>> The idea was that it would be part of with only. We don't want to tax
>> the global property lookups for this.
>
> with and http://www.whatwg.org/specs/web-apps/current-work/multipage/webappapis.html#event-handler-content-attributes
> It would be extremely useful on the latter for new methods on node
> objects.

Of course. This is actually even more important than the pure ES scenario.

-- 
erik


More information about the es-discuss mailing list