Index into the array at the specified position, wrapping around if going off the end. Like the remainder operator (%) except it supports negative values.
The index into the array.
The length of the array.
The wrapped index.
Index into the array at the specified position, wrapping around if going off the end. Like the remainder operator (%) except it supports negative values.