DEV Community

Discussion on: JavaScript Interview Question #49: Add a new array element by index

 
knightkrusty profile image
Vaibhav

Thank You for long explanantion, everything make sense now. I havent used these methods very often so forgot there nature and what it does and for some reason i havent noticed that it mutates the original array it self in mdn documentation. Stupid me...