lib/utils.js
function update (obj1, obj2) {
  Object.keys(obj2).forEach(function (prop) {
    obj1[prop] = obj2[prop];
  });
  return obj1;
}
function update (obj1, obj2) {
  Object.keys(obj2).forEach(function (prop) {
    obj1[prop] = obj2[prop];
  });
  return obj1;
}
function update ( obj1 , obj2 ) { Object . keys ( obj2 ) . forEach ( function ( prop ) { obj1 [ prop ] = obj2 [ prop ] ; } ) ; return obj1 ; }
Merges properties of obj2 into obj1.

@param {Object} obj1
@param {Object} obj2
@return {Object}
Merges properties of obj2 into obj1 .