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
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
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
3 matches
Mail list logo