Extra functions on Arrays, Maps, etc..
brendan at mozilla.org
Mon Apr 9 13:55:36 PDT 2012
Erik Arvidsson wrote:
> Fortunately all the Array.prototype methods are generic so it all just works.
Except without a new protocol (opt-in, for backward compat) the pure
methods all create a new Array instance to return, not a new NodeList.
Is that considered potentially problematic?
Allen had an idea based on a standard "private" (unique) name for an
opt-in protocol, I think inspired by Smalltalk's 'species'.
More information about the es-discuss