Re: Array tail destructuring

2016-10-02 Thread Awal Garg
On Oct 2, 2016, at 9:30 AM, Olivier Lalonde wrote: So what's the problem with `[...a, last]` that `[...a]` doesn't have? I still don't get it. > Since you don’t know when the iterator produced for `…a` will terminate, there’s no way to know when you need to stop iterating

Re: Re: Take let variable out of temporal dead zone

2016-04-16 Thread Awal Garg
Not possible. Previous discussion: https://esdiscuss.org/topic/global-lexical-tier (the one Jason mentioned above). Key take-away from the above, which is admittedly sad: > When it comes to aesthetics vs. implementability and usability, we have to throw aesthetics under the bus. This is

Re: Re: {}+{} incosistency

2016-04-14 Thread Awal Garg
Only the first `{}` is a statement. After that you have `+` which starts an expression, and `+{}` evaluates to `NaN`, which is, as expected, the result in all other browser devtools and repls. ___ es-discuss mailing list es-discuss@mozilla.org