레퍼런스 shorten()

shorten()

Warning

Use array.pop() instead.

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

예제

구문

shorten(list)

매개변수

list
Array:

Array to shorten

Returns

Array: shortened Array
This page is generated from the comments in src/utilities/array_functions.js . Please feel free to edit it and submit a pull request!

관련 레퍼런스