doc: merged old docs for Enumerable#toArray
This commit is contained in:
parent
6a702b420c
commit
7691177374
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue