DEV Community

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

 
bytebodger profile image
Adam Nathaniel Davis

Yes, this does make sense. I do think that the loose/inferred/runtime typing is what twists everyone's heads in knots.

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