Re: [whatwg] Date Update?

2014-05-25 Thread Norbert Lindenberg
[Dropping whatwg@ and public-script-coord@ since this appears to be an ECMAScript issue.] On May 19, 2014, at 11:34 , Garrett Smith wrote: > On 1/19/14, Norbert Lindenberg wrote: >> >> On Jan 19, 2014, at 10:01 , Jasper St. Pierre >> wrote: >> >>> On Sunday, January 19, 2014, Garrett Smith

Re: Destructuring of generators

2014-05-25 Thread Kevin Smith
> > > I’m not sure thats a good idea in case of generators. Of course one can > easily work around that by doing `[a, b] = gen; rest = gen;`. But that > takes away half the sweetness of the sugar :-) And the lazyness. > And you can’t use that pattern inside parameters. > The rest element needs to

Destructuring of generators

2014-05-25 Thread Arpad Borsos
The destructuring assignment of the form `[a, b, ...rest] = x` accepts any kind of iterator. Which is great. However, IteratorDestructuringAssignmentEvaluation of AssignmentRestElement is defined such that it creates a new Array and completely walks the iterator until its exhausted. I’m not sure