4 ms·
Because modifying object prototypes is the way to go?
by k3n 13y ago
Because modifying object prototypes is the way to go?
- taf2 13y agoDepends if you're in an environment you control then yes - when embedding your scripts, don't do it. Create your own isolated functions and assume anything and everything can be broken e.g. Array.prototype is often modified with broken or semi incomplete functions like broken versions of indexOf