This allows you to use back-access syntax to access items in an array or characters in a string.
In practical terms, it adds the negative integer in arr[-1]
to the length of the array/string and tries to search for that property inside the object.
const arr = backAccess(['first', 'second', 'last'])
arr[-1] // => "last"
arr[-2] // => "second"