4 ms·
Oooh, fascinating. If I recall correctly, this happened once before in JavaScript. One of the Array.prototype methods has an unintuitive name because dojo, a ve
by timwis 5y ago
Oooh, fascinating. If I recall correctly, this happened once before in JavaScript. One of the Array.prototype methods has an unintuitive name because dojo, a very popular utility library at the time, monkeypatched the Array object with the method name they would have chose, and adding it to ECMAscript would have “broken the web” because so many sites used dojo.
Anyone remember the method name?
- toastercat 5y agoNot sure of the dojo conflict, but I did see this article recently that I thought was interesting: https://2ality.com/2022/03/naming-conflicts.html https://2ality.com/2022/03/naming-conflicts.html