Standardizing __proto__

Brendan Eich brendan at
Fri Mar 18 18:19:55 PDT 2011

On Mar 18, 2011, at 5:11 PM, John-David Dalton wrote:

> You can even create more than one of say the Array
> constructor as with fuse.Array and fuse.dom.NodeList (also an Array
> constructor but with DOM methods on it's prototype)
> And this **is** possible, in part, because of __proto__.

But to get back to shaver's point: you are requiring a stylized, non-standard, popular-library-incompatible dialect of JS to be used from the start to work inside FuseJS's sandboxes, IIUC. Right?

That's ok, not criticizing per se. Just noting it's yet another dialect. There are many such, some with translators that can handle the wrapping, even for primitives and literals, for you.

Harmony is not about standardizing whatever hacks you needed to make your dialect work. It's about core language features that complete and correct (by extension if not incompatible change) the incomplete and sometimes messy core language, even as of ES5.


More information about the es-discuss mailing list