2 * Creates a new array concatenating `array` with `other`.
5 * @param {Array} array The first array to concatenate.
6 * @param {Array} other The second array to concatenate.
7 * @returns {Array} Returns the new concatenated array.
9 function arrayConcat(array, other) {
11 length = array.length,
13 othLength = other.length,
14 result = Array(length + othLength);
16 while (++index < length) {
17 result[index] = array[index];
19 while (++othIndex < othLength) {
20 result[index++] = other[othIndex];
25 module.exports = arrayConcat;