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'.

/be
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to