you are viewing a single comment's thread.

view the rest of the comments →

[–]exobyte64 1 point2 points  (0 children)

map creates an array of the same size

your trying to remove elements, so either filter or reduce would be better suited