toArray :: Array

toArray() -> newArray

 

This is just a local optimization of the mixed-in toArray from Enumerable.

 

This version aliases to clone, avoiding the default iterative behavior.

 

See also

 

Array.clone()


Prototype API 1.5.0 - prototypejs.org