DEV Community

Discussion on: Not everything is an object in JavaScript

 
pentacular profile image
pentacular

a.name = 'c'; does not change any variable.

That's why the variables are still the same.

There are no references involved.