MS JScript JavaScript Tutorial

The dimensions() method returns the number of dimensions of the array.