We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Appends arrays to the end. 🏃 📼 📦 🌔
Alternatives: default, update.
array.concat(x, ...ys); // x: an array // ys: iterables to append
const array = require('extra-array'); var x = [1, 2]; array.concat(x, [3, 4]); // [1, 2, 3, 4] var y = [5, 6]; array.concat(x, y, y); // [ // 1, 2, // 5, 6, 5, 6 // ]