DEV Community

Discussion on: Stop abusing .map()!

Collapse
hyungjunk profile image
hyungjunk • Edited on

I totally agree to the point of the post. One thing I wonder is if map is used just like the bad practice example, when does garbage collector collects that isolated, unused array? will it exists for long?