It was an interesting prompt about array subscripts in any event. I think what got me started thinking was something like, if array[-1] and array[-2] are both undefined, how could code differentiate the two for sorting purposes.
1 Like