ES Native Mode proposal

David Bruant bruant.d at gmail.com
Wed Sep 25 14:50:53 PDT 2013


Le 25/09/2013 17:41, Michaël Rouges a écrit :
> Hi all,
>
> Given the number of scripts from various sources that may be contained 
> in a web page, there may be prototypingconflicts.
Be careful about what you include? To be proactive in that process, 
freeze all builtins beforehand. You'll know soon enough if something breaks.
If you do want to enhance prototype, isolate this code and run it before 
freezing builtins.

The module loader API has something close to what you ask:
http://wiki.ecmascript.org/doku.php?id=harmony:module_loaders#loader.prototype.definebuiltins_obj

David


More information about the es-discuss mailing list