You could use 2 pop in loop to extract the last 2 elements of an array.
Similarly splice
You can also count an index backwards.
In reply to Re: printing every 2nd entry in a list backwards
by KurtZ
in thread printing every 2nd entry in a list backwards
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |