Re:When or If
by kretaceous on Monday March 14, 2022 @02:58PM
(#30676603)
Also, Array.flat was chosen instead of Array.flatten because of a popular 3rd party library's function of the same name. I think it was Lodash.
[ Parent
| on HN ]
It was mootools.
https://developers.google.com/web/updates/2018/03/smooshgate
Re:When or If
by mananaysiempre on Monday March 14, 2022 @04:06PM
(#30677528)
... And underscore/lodash use the _(...) wrapper approach pioneered by jQuery’s $(...) precisely to avoid monkey-patching builtin objects like Mootools did (as well as some others I think, but I don’t really remember).