mirror of
https://github.com/taixingyiji/openit.git
synced 2025-11-03 02:12:28 +00:00
2022.07.20 16:18:09 更新订阅
This commit is contained in:
20
utils/rm/node_modules/lodash/_arrayPush.js
generated
vendored
Normal file
20
utils/rm/node_modules/lodash/_arrayPush.js
generated
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
/**
|
||||
* 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`.
|
||||
*/
|
||||
function arrayPush(array, values) {
|
||||
var index = -1,
|
||||
length = values.length,
|
||||
offset = array.length;
|
||||
|
||||
while (++index < length) {
|
||||
array[offset + index] = values[index];
|
||||
}
|
||||
return array;
|
||||
}
|
||||
|
||||
module.exports = arrayPush;
|
||||
Reference in New Issue
Block a user