DEV Community

Discussion on: JS interview in 2 minutes / value vs reference

Collapse
javier123454321 profile image
Javier Gonzalez

I dont follow, have a link or care to elaborate? You can pass an object as a parameter and change its internals inside the scope of a function. I understand this as pass by reference, am I mistaken?