with and scope chain augmentation

Mike Wilson mikewse at hotmail.com
Mon Jun 22 12:43:10 PDT 2009


Watching the "Changes to JavaScript, Part 1: EcmaScript 5"
http://www.youtube.com/watch?v=Kq4FpMe6cRs
I came to think of augmented scope chains for DOM0 event 
handlers.

I sympathize with the slide "Problem: Can't emulate 
platform objects" (which is addressed by e g getter/setter
properties), but the removal of with(){} in ES5 strict mode
would mean it gets harder to emulate the scope chain 
augmentation done by browsers?

Best regards
Mike Wilson



More information about the es-discuss mailing list