Overriding Map/etc with get/set hooks?

Tab Atkins Jr. jackalmage at gmail.com
Wed May 22 10:02:17 PDT 2013


On Wed, May 22, 2013 at 9:44 AM, Brendan Eich <brendan at mozilla.com> wrote:
> NodeList extends Array now but is not literally Array plus hooks. Same for Map and the quite different thing you're specifying.

NodeList is an interesting case, actually.  It's an Array, but with a
type restriction.  Live NodeLists even have basically the same linkage
behavior I'm talking about.

What do I need to do to get a Map like that?

~TJ


More information about the es-discuss mailing list