Closed cycold closed 6 years ago
let foo = { obj: { b: 2 } } let boo = {...foo} boo === foo // false // 但是: boo.obj === foo.obj //true