Basic JavaScript tips

The number of elements in a Javascript array