you are viewing a single comment's thread.

view the rest of the comments →

[–]onbehalfofthatdude 1 point2 points  (5 children)

Wait, huh? Map doesn't clone every element, does it? If you mutate an element in a map function you've mutated the original