Reference shorten()

shorten()

Decreases an array by one element and returns the shortened array, maps to Array.pop().

Examples

Syntax

shorten(list)

Parameters

list

Array to shorten

Notice any errors or typos? Please let us know. Please feel free to edit src/utilities/array_functions.js and open a pull request!

Related References