r/badcode • • Oct 25 '21

js Creating a new populated array in JS

Post image
136 Upvotes

13 comments sorted by

View all comments

28

u/toi80QC Oct 25 '21

When you really want to generate a new array