bennyp@kbin.socialtoProgramming@kbin.social•Understanding JavaScript Function Invocation and "this"
2·
1 year agothis
is very handy when you want to carry over some shared context. Justin Fagnani described this
as an implicit first argument, which is a model that helped me understand how to use it better.
It will be annoying for a minute but this change is good: it will help developers ship extensions faster and with fewer bugs by using standard JavaScript modules and IDE support. As mentioned in the blog: modules were standardized in 2015! At what point does it become acceptable to drop non-standard features?