@extra-array/pop-update.min
TypeScript icon, indicating that this package has built-in type declarations

2.10.19 • Public • Published

Removes last value. 📦 😺 🏃 📼 🌔 📜 📰 📘

Alternatives: pop, pop$.
Similar: push, pop, shift, unshift.

This is part of package extra-array.

This is browserified, minified version of @extra-array/pop-update.
It is exported as global variable array_pop$.
CDN: unpkg, jsDelivr.


array.pop$(x);
// x: an array (updated)
const array = require("extra-array");

var x = [1, 2, 3];
array.pop$(x);
// [ 1, 2 ]

x;
// [ 1, 2 ]

var x = [1, 2, 3, 4];
array.pop$(x);
// [ 1, 2, 3 ]


References

/@extra-array/pop-update.min/

    Package Sidebar

    Install

    npm i @extra-array/pop-update.min

    Weekly Downloads

    1

    Version

    2.10.19

    License

    MIT

    Unpacked Size

    4.8 kB

    Total Files

    8

    Last publish

    Collaborators

    • wolfram77