I was just reading some code and found that the person was using arr[-2] to access the 2nd element before the arr, like so:
arr[-2]
arr
|a|b|c|
What probably was that arr was pointing to the middle of the array, hence making arr[-2] pointing to something in the original array without going out of bounds.