function test() { let a = { b: {c:4} , d: { e: {f:1}} } let g = Object.assign({},a) // 淺層 let h = JSON.parse(JSON.stringify(a)); ...
確定! 回上一頁