size :: Array
size() -> Number
Returns the size of the array.
This is just a local optimization of the mixed-in size method from the Enumerable module, which avoids array cloning and uses the array’s native length property.
Prototype API 1.5.0 - prototypejs.org