On Fri, Feb 24, 2012 at 11:09, Rick Waldron <[email protected]> wrote: > > > On Thu, Feb 23, 2012 at 3:15 PM, Erik Arvidsson <[email protected]> > 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). -- erik _______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

