对象合并 let a = { a : 1 } let b = { b : 2 } let c = Object.assign( a , b ) console.log( c ) //{ a : 1 , b : 2 }