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. 🏃 📼 📦 🌔 📒
Similar: push, pop, shift, unshift.
iterable.push(x, ...vs); // x: an iterable // vs: values to add
const iterable = require('extra-iterable'); var x = [1, 2]; [...iterable.push(x, 3)]; // [ 1, 2, 3 ] [...iterable.push(x, 3, 4)]; // [ 1, 2, 3, 4 ]