✨✨✨ Challenge your JavaScript programming limits step by step
Home Page:https://juejin.cn/column/7244788137410560055
Geek Repo:Geek Repo
Github PK Tool:Github PK Tool
Sunny-117 opened this issue 2 years ago · comments
let a = { n: 1 } let b = a a.x = a = { n: 2 } console.log(a.x) // => undefined console.log(b.x) // => { n: 2 }
这篇文章讲的很详细 https://segmentfault.com/a/1190000004224719