array.pop
Removes the last element and returns it. Runtime error on an empty array.
array.pop(id: array<any>) -> element type
Parameters
idarray<any>: The array; na stops the script with a runtime error. An empty array also stops it.
Example
newest = a.pop()