diff --git a/src/lang/enumerable.js b/src/lang/enumerable.js index f171056..425b8da 100644 --- a/src/lang/enumerable.js +++ b/src/lang/enumerable.js @@ -677,7 +677,12 @@ var Enumerable = (function() { /** * Enumerable#toArray() -> Array * - * Returns an Array representation of the enumeration. + * Returns an Array containing the elements of the Enumeration. + * + * ### Example + * + * $R(1, 5).toArray() + * // -> [1, 2, 3, 4, 5] **/ function toArray() { return this.map();