4 ms·
Prototype modification of global objects in JS provides similar monkey patching capability. Interestingly evolution is very different though The instances of a
by manquer 5y ago
Prototype modification of global objects in JS provides similar monkey patching capability. Interestingly evolution is very different though
The instances of abuse are generally less in mainstream JS libraries, and in many of them such features are usually opt-in or at-least it is possible to still use the lib even when opting out , there is also no major dialect that has privileged rights so to speak.
- choward 5y agoThe Prototype js library was pretty huge back in the day when monkey patching was all the rage.
- erichocean 5y agoIIRC it was created by former Ruby/Rails developers.