ArrayCollection.getItemAt() doesn’t return null

by Ruben

Just a second ago I changed an Array property into an ArrayCollection, when I tested my project again a RangeError was thrown telling me that I was trying to access an index that was out of bounds (occuring at .getItemAt()).
Now this itself didn't surprise me alot, but what did surprise me was that I hadn't gotten this Error back when my property was still an Array.

I figured that it must be the fact that an ArrayCollection uses actual methods, like getItemAt(). To varify my assumption I looked in the LiveDocs.

Strange enough the docs say that the return value for getItemAt() is "the item at that index, or null if there is none".
I don't think I can ever trust my old friend the LiveDocs again after lying to me about returning null and then stabbing me in the back with a RangeError..