1const arr1 = [1,2,3]
2const arr2 = [4,5,6]
3const arr3 = [...arr1, ...arr2] //arr3 ==> [1,2,3,4,5,6]
1const a = ['to', 'code'];
2const b = ['learning', ...a, 'is', 'fun'];
3console.log(b); //> ['learning', 'to', 'code', 'is', 'fun']
1let techlist1= ['spring', 'java'];
2 let techlist2= ['javascript', 'nodejs', 'mongo'];
3 let fullstacklist= […techlist1, …techlist2];
4 console.log(fullstacklist);
5