lib/ast.js
function(base) {
    for (var i=1; i < arguments.length; i++) {
      var ext = arguments[i];
      for (var key in ext) {
        if (ext.hasOwnProperty(key)) base[key] = ext[key];
      }
    }
    return base;
  }
function(base) {
    for (var i=1; i < arguments.length; i++) {
      var ext = arguments[i];
      for (var key in ext) {
        if (ext.hasOwnProperty(key)) base[key] = ext[key];
      }
    }
    return base;
  }
function ( base ) { for ( var i = 1 ; i < arguments . length ; i ++ ) { var ext = arguments [ i ] ; for ( var key in ext ) { if ( ext . hasOwnProperty ( key ) ) base [ key ] = ext [ key ] ; } } return base ; }
Merge properties from one or more objects onto a base object.
@param {Object} base object to receive merged properties.
@param {...Object} mixin objects to extend onto base.
Merge properties from one or more objects onto a base object .