There could be some useful overlap with the
http://code.google.com/p/es-lab/wiki/SecureEcmaScript proposal and modules.

The restricted eval (esp #6) could be the core mechanism of a module system.

>From SecureEcmaScript proposal:
6. The top level binding of this in an evaled Program is not the global
object, but rather a frozen root object containing just the globals defined
in the ES5 spec.
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to