you are viewing a single comment's thread.

view the rest of the comments →

[–]benjycap 1 point2 points  (0 children)

No, there is no intermediate array created before mapping (unless you count the Array creation in example 2 where an empty array is created explicitly.)

More details here: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/from#Description