Js ES6, Merge 2 objects and store in array instead replacing existent key

后端 未结 0 1137
忘掉有多难
忘掉有多难 2021-01-17 03:11

i have the following

let user = { name: \'John\', lastName: \'Doe\', phone: \'000111222\' };
let otherInfo = { phone: \'123456\', age         


        
相关标签:
回答
  • 消灭零回复
自定义标题
段落格式
字体
字号
代码语言
提交回复
热议问题