Re: Elements (extends Array)

On 8/7/13 11:48 PM, Domenic Denicola wrote:
> I believe the intent here is to allocate an object that acts exactly like the one that you get when doing `class Elements extends Array { ... }` in ES6.

I guess the question is whether that object would have any special 
Elements-associated magic, right?

Put another way, would methods off of Elements.prototype be generic or 
only work on "Elements" objects?

-Boris

Received on Thursday, 8 August 2013 03:55:54 UTC