let first = {course : ‘React’};
let second = {course : ‘html’};
const combined = {…first, …second};
console.log(combined);
// I get output as => {course : html}, but what about first variable?
Blancer.com Tutorials and projects
Freelance Projects, Design and Programming Tutorials
let first = {course : ‘React’};
let second = {course : ‘html’};
const combined = {…first, …second};
console.log(combined);
// I get output as => {course : html}, but what about first variable?