lib/index.js
function (obj) {
    obj = obj || {};
    var exts = Array.prototype.slice.call(arguments, 1);
    for (var k=0; k<exts.length; k++) {
      if (exts[k]) {
        for (var i in exts[k]) {
          if (exts[k].hasOwnProperty(i)) {
            obj[i] = exts[k][i];
          }
        }
      }
    }
    return obj;
  }
function (obj) {
    obj = obj || {};
    var exts = Array.prototype.slice.call(arguments, 1);
    for (var k=0; k<exts.length; k++) {
      if (exts[k]) {
        for (var i in exts[k]) {
          if (exts[k].hasOwnProperty(i)) {
            obj[i] = exts[k][i];
          }
        }
      }
    }
    return obj;
  }
function ( obj ) { obj = obj || { } ; var exts = Array . prototype . slice . call ( arguments , 1 ) ; for ( var k = 0 ; k < exts . length ; k ++ ) { if ( exts [ k ] ) { for ( var i in exts [ k ] ) { if ( exts [ k ] . hasOwnProperty ( i ) ) { obj [ i ] = exts [ k ] [ i ] ; } } } } return obj ; }
Simple extend object. Receives many objects. It will not copy deep objects.
@private
@param  {Object} obj - The object to extend.
@return {Object} - `obj` extended.
Simple extend object . Receives many objects . It will not copy deep objects .