Erik Arvidsson erik.arvidsson at
Fri Feb 24 11:18:04 PST 2012

On Fri, Feb 24, 2012 at 11:09, Rick Waldron <waldron.rick at> wrote:
> On Thu, Feb 23, 2012 at 3:15 PM, Erik Arvidsson <erik.arvidsson at>
> wrote:
>> DOM4 added a new interface called DOMStringList for the sole reason
>> that Array does not have contains. Before this the return type was an
>> Array of Strings so we could use indexOf, map, forEach etc. Now that
>> it is using a non Array we lost all of that.
> Wouldn't the return type (or [[Class]]) still be restricted from using
> "Array"?

No. We (WebKit) used to return a true JS Array (created by JSC or V8).


More information about the es-discuss mailing list