doc: very minor clarification of Array#size

This commit is contained in:
tjcrowder 2009-09-07 13:00:54 +01:00 committed by Tobie Langel
parent a1ab78858f
commit d9f0a15dd5

View File

@ -291,7 +291,8 @@ Array.from = $A;
/** related to: Enumerable#size
* Array#size() -> Number
* Returns the size of the array.
*
* Returns the size of the array (e.g., `array.length`).
*
* This is just a local optimization of the mixed-in [[Enumerable#size]]
* which avoids array cloning and uses the array's native length property.