The obj is a new var that points to the global object a. Then you change the 
ref of obj to point to a new object, in your case, a function. Outside mutate 
function, the object a still points to the existent object.

-- 
To view archived discussions from the original JSMentors Mailman list: 
http://www.mail-archive.com/[email protected]/

To search via a non-Google archive, visit here: 
http://www.mail-archive.com/[email protected]/

To unsubscribe from this group, send email to
[email protected]

Reply via email to