Contains helpers to work with the JS built-in Array data type.
Due to historical reasons and backwards compatibility considerations, Arrays in JS lacks API consistency,
and some operations might not be intuitive enough. This module may help you to cope with them.
API conventions
Unless otherwise noted,
all the array index parameters of BidirectionalIndex are bidirectional,
meaning that you can use negative numbers to access array from the end.
Contains helpers to work with the JS built-in Array data type.
Due to historical reasons and backwards compatibility considerations, Arrays in JS lacks API consistency, and some operations might not be intuitive enough. This module may help you to cope with them.
API conventions
Unless otherwise noted,
undefined
. This is consistent with how the newer Array APIs are handling the empty slots.See