Nov 17 meeting notes
Waldemar Horwat
waldemar at google.com
Fri Nov 18 13:44:07 PST 2011
On 11/17/2011 10:03 PM, Dominic Cooney wrote:
>
>
> On Fri, Nov 18, 2011 at 9:40 AM, Waldemar Horwat <waldemar at google.com <mailto:waldemar at google.com>> wrote:
>
> Array destructuring and length:
> let [a, b, c, d, ... r] = {2: 3} <| [1, 2]
> Obvious: a is 1; b is 2.
> What are c, d, and r?
> c = 2.
>
>
> Nit: This should be c = 3, because {2: 3} means ({2: x} <| [1, 2])[2] is x, right?
Correct. Sorry for the typo.
Waldemar
More information about the es-discuss
mailing list