问题分享:Js引用类型赋值

今天在微信群里有这样一个问题和大家分享一下: 附上源码: function changeAgeAndReference(person){ person . age = 25; person = { nage : 'John',