lib/modules/apostrophe-utils/lib/helpers.js
function() {
      var result = {};
      var i;
      for (i = 0; (i < arguments.length); i++) {
        if (!arguments[i]) {
          continue;
        }
        result = _.merge(result, arguments[i]);
      }
      return result;
    }
function() {
      var result = {};
      var i;
      for (i = 0; (i < arguments.length); i++) {
        if (!arguments[i]) {
          continue;
        }
        result = _.merge(result, arguments[i]);
      }
      return result;
    }
function ( ) { var result = { } ; var i ; for ( i = 0 ; ( i < arguments . length ) ; i ++ ) { if ( ! arguments [ i ] ) { continue ; } result = _ . merge ( result , arguments [ i ] ) ; } return result ; }
Pass as many objects as you want; they will get merged via `_.merge` into a new object, without modifying any of them, and the resulting object will be returned. If several objects have a property, the last object wins.  This is useful to add one more option to an options object which was passed to you.  If any argument is null, it is skipped gracefully. This allows you to pass in an options object without checking if it is null.
Pass as many objects as you want ; they will get merged via _ . merge into a new object without modifying any of them and the resulting object will be returned . If several objects have a property the last object wins . This is useful to add one more option to an options object which was passed to you . If any argument is null it is skipped gracefully . This allows you to pass in an options object without checking if it is null .