Array comprehensions with Spread operator

Jeremy Martin jmar777 at
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>

> On Wed, Apr 15, 2015 at 9:31 AM, Jeremy Martin <jmar777 at> 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.
> ~TJ

Jeremy Martin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list