shiftshift @ array
Removes the first value of
@array
and returns it, shortening
the array by 1 and moving everything down.
If there are no elements in the array, the
function returns the undefined value. If
@array
is
omitted, the function shifts Copyright © 2001 O'Reilly & Associates. All rights reserved. |
|