Array comprehensions with Spread operator
jmar777 at gmail.com
Wed Apr 15 16:36:34 UTC 2015
Thanks, I gathered so after your response. This is why 99% of the time I
wait for at least one other person to reply first, and why I *should* wait
the remaining 1%... :)
On Wed, Apr 15, 2015 at 12:34 PM, Tab Atkins Jr. <jackalmage at gmail.com>
> On Wed, Apr 15, 2015 at 9:31 AM, Jeremy Martin <jmar777 at gmail.com> wrote:
> > Why not just `[...x, ...y]`?
> Obviously that's a solution to the trivial example that monolithed
> provided, but it's not a solution to the more general problem he's
> alluding to, where you're doing a comprehension and want to insert two
> or more elements into the result in a single iteration.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss