Standardizing __proto__

John-David Dalton john.david.dalton at gmail.com
Fri Mar 18 10:15:21 PDT 2011


> Array create seems like a good interface for that particular use case even if the general solution that
> encompasses things other than Array ended up being something different.

Limiting it to Array.create seems shortsighted. It's useful for
Strings, Numbers, RegExp, and others.
Adding Array.create() would mean eventually adding .create() to the
others (which is better than nothing), but a more generic solution
would be ideal.


More information about the es-discuss mailing list