DEV Community

Discussion on: Do You Know How Array.fill() Works with Reference Variables?

Collapse
 
inkeyygnito profile image
Kristina Cayetano

This is very helpful! I dealt with bugs caused by filling with objects in the past and it was a headache to track. Great post! :)