src/js/object.js
function extend(target, objects) { // eslint-disable-line no-unused-vars
    var hasOwnProp = Object.prototype.hasOwnProperty;
    var source, prop, i, len;

    for (i = 1, len = arguments.length; i < len; i += 1) {
        source = arguments[i];
        for (prop in source) {
            if (hasOwnProp.call(source, prop)) {
                target[prop] = source[prop];
            }
        }
    }

    return target;
}
function extend(target, objects) { // eslint-disable-line no-unused-vars
    var hasOwnProp = Object.prototype.hasOwnProperty;
    var source, prop, i, len;

    for (i = 1, len = arguments.length; i < len; i += 1) {
        source = arguments[i];
        for (prop in source) {
            if (hasOwnProp.call(source, prop)) {
                target[prop] = source[prop];
            }
        }
    }

    return target;
}
function extend ( target , objects ) { // eslint-disable-line no-unused-vars var hasOwnProp = Object . prototype . hasOwnProperty ; var source , prop , i , len ; for ( i = 1 , len = arguments . length ; i < len ; i += 1 ) { source = arguments [ i ] ; for ( prop in source ) { if ( hasOwnProp . call ( source , prop ) ) { target [ prop ] = source [ prop ] ; } } } return target ; }
Extend the target object from other objects.
@param {object} target - Object that will be extended
@param {...object} objects - Objects as sources
@returns {object} Extended object
@memberof tui.util
Extend the target object from other objects .