Nov 17 meeting notes
brendan at mozilla.com
Fri Nov 18 09:08:23 PST 2011
On Nov 18, 2011, at 8:54 AM, Rick Waldron wrote:
> On Thu, Nov 17, 2011 at 11:06 PM, David Herman <dherman at mozilla.com> wrote:
> On Nov 17, 2011, at 5:20 PM, Rick Waldron wrote:
>> On Thu, Nov 17, 2011 at 7:40 PM, Waldemar Horwat <waldemar at google.com> wrote:
>> Array.from(a) is superfluous because it's expressed even simpler as
>> [... a]. DaveH withdrew it.
>> Perhaps Array.from() was either misunderstood or miscommunicated. I had prepared a complete step-by-step production of the function's semantics and documented them here:
> It turns out that [...arrayLikeThingy] does exactly the same thing; it constructs a new Array from the contents of any array-like object.
> Based on: http://wiki.ecmascript.org/doku.php?id=harmony:rest_parameters ...On first look, I wouldn't guess that [ ...arrayLikeThingy ] behaved that way, but thanks for the clarification.
Quick reply to suggest that rest is the wrong proposal. You want
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss