📜  扩展运算符合并对象 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:01:05.698000             🧑  作者: Mango

代码示例1
let a = {
    a: 1,
    b: true
}

let b = {
    y: 093,
    z: 'This is an object'
}

const c = {...a, ...b}