DEV Community

Discussion on: A "Gotcha" of JavaScript's Pass-by-Reference

Collapse
 
thamaraiselvam profile image
Thamaraiselvam

Thanks man, actually I destroyed my reference object and was wondering why this is not getting affected to my original array/

Some comments have been hidden by the post's author - find out more