Is using Prototype to extend native objects bad?
javascript, prototype
Solution
I don't think it's bad. If you have a look at Ruby on Rails, very many native objects are extended with custom functionality and it's a very good framework.
What would be bad is if you change existing methods on native objects. this could cause unforseen consequences.
Problem
I read somewhere that using `prototype` to extend native objects (`String`, `Number`, `Array`, etc.) was a bad idea. Is this true? Why or why not?