DEV Community

Discussion on: Here's Why Mapping a Constructed Array in JavaScript Doesn't Work

 
loilo profile image
Florian Reuschel

Makes sense, thanks. I struggle with splat operator execution order from time to time.

Thread Thread
 
jbristow profile image
Jon Bristow

In trying to rewrite the above code I ended up having to experiment a bit to figure out what was happening when... it’s certainly far from obvious.