concat object April 14, 2023 by wordlinkanswers concat object Comment 2 const obj1 = { food: ‘pizza’, car: ‘ford’ };<br /> const obj2 = { animal: ‘dog’ };</p> <p>const obj3 = { …obj1, …obj2 };<br /> console.log(obj3); Popularity 10/10 Helpfulness 5/10 Language javascript Source: stackoverflow.com Tags: concat javascript object Share Link to this answer Share Contributed on Mar 04 2020 LuluIsco 0 Answers Avg Quality 2/10