W3C home > Mailing lists > Public > public-script-coord@w3.org > July to September 2013

Re: Elements (extends Array)

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Wed, 07 Aug 2013 23:55:25 -0400
Message-ID: <520316AD.6040508@mit.edu>
To: Domenic Denicola <domenic@domenicdenicola.com>
CC: "public-script-coord@w3.org" <public-script-coord@w3.org>
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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:37:50 UTC