>
> @Aaron: Thanks for the clarification. Out of curiosity, knowing there
> would be a collision here, why not use a different name for the
> Array.clone method (since it was introduced later than the
> Element.clone method)?
>

The short answer is because a Collection is an Array first and a Collection
second. Because anyone can extend the Element prototype, they could make a
method called .pop or .push or whatever. So MooTools doesn't add any
methods to a Collection that exist on the Array prototype. There's no way
to know which one came "first".

Reply via email to