dist/index.js
// An internal function for creating assigner functions.
An internal function for creating assigner functions.
An internal function for creating assigner functions .
function createAssigner(keysFunc, defaults) {
    return function(obj) {
      var length = arguments.length;
      if (defaults) obj = Object(obj);
      if (length < 2 || obj == null) return obj;
      for (var index = 1; index < length; index++) {
        var source = arguments[index],
            _keys = keysFunc(source),
            l = _keys.length;
        for (var i = 0; i < l; i++) {
          var key = _keys[i];
          if (!defaults || obj[key] === void 0) obj[key] = source[key];
        }
      }
      return obj;
    };
  }
function createAssigner ( keysFunc , defaults ) { return function ( obj ) { var length = arguments . length ; if ( defaults ) obj = Object ( obj ) ; if ( length < 2 || obj == null ) return obj ; for ( var index = 1 ; index < length ; index ++ ) { var source = arguments [ index ] , _keys = keysFunc ( source ) , l = _keys . length ; for ( var i = 0 ; i < l ; i ++ ) { var key = _keys [ i ] ; if ( ! defaults || obj [ key ] === void 0 ) obj [ key ] = source [ key ] ; } } return obj ; } ; }
An internal function for creating assigner functions.
An internal function for creating assigner functions .