SOURCE
JavaScript
Result
let a = {apple:'like',banner:'no'} let b = {...a} b.apple = '哈哈哈' console.log(a) console.log(b)
console 命令行工具
X
clear
>
console