Can we have WASI DOM access etc soon please?
Even node 10 applications that use MooTools (i.e. JavaScript executing in a different runtime) will continue to work just fine if `flatten` is added as proposed in node 11+. The developers will eventually need to patch it but it's not like this bug where one day users autoupdate their browser and half the websites they visit are broken.
Not exactly uncommon for languages that feature reflection.
Heck the win32 api allows you to hook and intercept function calls. So do plenty of other native C and C++ APIs.
It is a powerful feature that allows for a lot of functionality, including extending out libraries and fixing bugs in SDKs that you'd otherwise have to wait an entire release cycle for, or that may never get fixed. (And release cycles used to be years long!)
Lets code dynamically change things that other code depends on. Including behavior in built-in object prototypes.
Has weird properties like "enumerable" on members of those prototypes, so that changing a property doesn't do the same thing as adding one... but the API for both is the same.
It's like the language is built to cause breaking changes. "Don't break the Web" indeed.
The root cause here is writing millions of lines of code in something that was originally just supposed to validate forms.