Given
var obj1 = {
a: 'cat'
b: 'dog'
};
var obj2 = {
b: 'dragon'
c: 'cow'
};
How can I add properties from obj2 to obj1 without overwrite to obj1. The output should be like console.log(obj1) => {a: 'cat', b: 'dog', c: 'cow'} and console.log(obj2) => {b: 'dragon', c: 'cow'}