Helena
0
Q:

spread operator merge objects

 let a = {
    a: 1,
    b: true
}

let b = {
	y: 093,
	z: 'This is an object'
}

const c = {...a, ...b}
0
let techlist1= ['spring', 'java'];
 let techlist2= ['javascript', 'nodejs', 'mongo'];
 let fullstacklist= […techlist1, …techlist2];
 console.log(fullstacklist);
0

New to Communities?

Join the community