Yes, I am; many apologies. I also forgot about how it would be useful for 
subclasses, e.g. Elements.from(nodeList), since subclasses don't have their own 
dedicated spread syntax. Withdrawn in full.
________________________________
From: Rick Waldron<mailto:[email protected]>
Sent: ‎12/‎28/‎2013 18:12
To: Domenic Denicola<mailto:[email protected]>
Cc: David Bruant<mailto:[email protected]>; Brendan 
Eich<mailto:[email protected]>; EcmaScript<mailto:[email protected]>
Subject: Re: Overly complicated Array.from?




On Sat, Dec 28, 2013 at 5:44 PM, Domenic Denicola 
<[email protected]<mailto:[email protected]>> wrote:
I believe that Array.from's only purpose is to provide guidance for polyfills 
for people to use in ES3/ES5 code; nobody writing ES6 would ever use it.

Ignoring any of the previous benefits I've discussed, it seems you're 
forgetting about the map function feature of Array.from?

Rick
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to