merge objects javascript spread code example
Example: Merging Or Copying Arrays Using Spread Operator
let techlist1= ['spring', 'java'];
let techlist2= ['javascript', 'nodejs', 'mongo'];
let fullstacklist= […techlist1, …techlist2];
console.log(fullstacklist);