Standardizing __proto__
Mike Shaver
mike.shaver at gmail.com
Fri Mar 18 09:18:47 PDT 2011
On Fri, Mar 18, 2011 at 9:14 AM, John-David Dalton
<john.david.dalton at gmail.com> wrote:
> The __proto__ property is a powerful language feature that cannot be
> reproduced through any existing part of the language.
> Current proposals like,
> http://wiki.ecmascript.org/doku.php?id=strawman:array_create, are too
> limiting, (it's useful for more than just arrays) and don't cover the
> full functionality/flexibility of __proto__.
It would be good to hear more about the use cases that aren't met by
Object.create and Array.create. Mutation of prototypes of builtin
objects or host objects seems unlikely to be interoperable even today.
Mike
More information about the es-discuss
mailing list