Modularize master branch.

This commit is contained in:
John-David Dalton
2016-12-30 22:26:46 -06:00
parent 912d6b04a1
commit 2900cfd288
745 changed files with 19699 additions and 140151 deletions

20
_arrayPush.js Normal file
View 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;
}
export default arrayPush;