dist/modules/object.js
function assign(obj) {
    var args = [];
    for (var _i = 1; _i < arguments.length; _i++) {
        args[_i - 1] = arguments[_i];
    }
    if (Object.assign)
        return Object.assign.apply(Object, [obj].concat(args));
    return objAssign.apply(void 0, [obj].concat(args));
}
function assign(obj) {
    var args = [];
    for (var _i = 1; _i < arguments.length; _i++) {
        args[_i - 1] = arguments[_i];
    }
    if (Object.assign)
        return Object.assign.apply(Object, [obj].concat(args));
    return objAssign.apply(void 0, [obj].concat(args));
}
function assign ( obj ) { var args = [ ] ; for ( var _i = 1 ; _i < arguments . length ; _i ++ ) { args [ _i - 1 ] = arguments [ _i ] ; } if ( Object . assign ) return Object . assign . apply ( Object , [ obj ] . concat ( args ) ) ; return objAssign . apply ( void 0 , [ obj ] . concat ( args ) ) ; }
Uses Object.assign if available or falls back to polyfill.

@param obj object to assign.
@param args additional source object.
Uses Object . assign if available or falls back to polyfill .