We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Remove first value.
Alternatives: shift, shift$. Similar: push, pop, shift, unshift.
function shift$(x) // x: an array (updated)
const array = require('extra-array'); var x = [1, 2, 3]; array.shift$(x); // → [ 2, 3 ] x; // → [ 2, 3 ] var x = [1, 2, 3, 4]; array.shift$(x); // → [ 2, 3, 4 ]
There was an error while loading. Please reload this page.