Since I started using JS heavily lately, it's nice to be reminded of some things. Thanks for posting.
One question though, it says:
If you want to append an item to an array, the safest way to do it is like this:
a[a.length] = item; // same as a.push(item);
a.push() variant seems more elegant to me. Why is a[] variant "safer"?