#
pop/dequeue
Function • Removes the value from the end of an array and returns it, mutating the array.
pop array → value
Arguments
| name | type | description |
|---|---|---|
| array | Array |
The array from which to remove an element. |
Returns
| name | type | description |
|---|---|---|
| value | Any | The removed element. |
Aliases: dequeue