We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Adds values to the end.
Alternatives: default, update. Similar: push, pop, shift, unshift.
array.push(x, ...vs); // x: an array // vs: values to add // --> pushed
const array = require('extra-array'); array.push([1, 2], 3); // [1, 2, 3] array.push([1, 2], 3, 4); // [1, 2, 3, 4]