Syntax
rest(array)
Description
The rest() function returns a new array with the first element of array removed.
This is a legacy function and has been replaced by shift(), and will likely be removed.
Example
a=[1,2,3,4,5,6] println(a) a=rest(a) println(a) [1, 2, 3, 4, 5, 6] [2, 3, 4, 5, 6]