UNPKG

@antv/layout

Version:
33 lines (27 loc) 700 B
/** * Appends the elements of `values` to `array`. * * @private * @param {Array} array The array to modify. * @param {Array} values The values to append. * @returns {Array} Returns `array`. */ var _arrayPush; var hasRequired_arrayPush; function require_arrayPush () { if (hasRequired_arrayPush) return _arrayPush; hasRequired_arrayPush = 1; function arrayPush(array, values) { var index = -1, length = values.length, offset = array.length; while (++index < length) { array[offset + index] = values[index]; } return array; } _arrayPush = arrayPush; return _arrayPush; } export { require_arrayPush as __require }; //# sourceMappingURL=_arrayPush.js.map