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"
I came to think of augmented scope chains for DOM0 event 

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