« Return to Thread: with and scope chain augmentation

with and scope chain augmentation

by mikewse :: Rate this Message:

Reply to Author | View in Thread

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

_______________________________________________
es-discuss mailing list
es-discuss@...
https://mail.mozilla.org/listinfo/es-discuss

 « Return to Thread: with and scope chain augmentation