You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
381 B
14 lines
381 B
var restArgs = require('./restArgs'); |
|
exports = restArgs(function(first, arrays) { |
|
var end = first.length; |
|
for (var i = 0, len = arrays.length; i < len; i++) { |
|
var arr = arrays[i]; |
|
for (var j = 0, _len = arr.length; j < _len; j++) { |
|
first[end++] = arr[j]; |
|
} |
|
} |
|
first.length = end; |
|
return first; |
|
}); |
|
|
|
module.exports = exports;
|
|
|