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

@extra-array/pop-update.min

A collection of functions for working with Arrays.

by nodef

2.10.19 (see all)License:MITTypeScript:Built-In
npm i @extra-array/pop-update.min
Readme

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

Downloads/wk

0

GitHub Stars

16

LAST COMMIT

10mos ago

MAINTAINERS

1

CONTRIBUTORS

3

OPEN ISSUES

0

OPEN PRs

0
VersionTagPublished
2.10.19
latest
10mos ago
No alternatives found
No tutorials found
Add a tutorial
No dependencies found

Rate & Review

100
No reviews found
Be the first to rate