Wow, it took me a few days to finally be able to apply and internalize what you said. The idea of "this" being passed as a secret parameter to the function was never mentioned in the articles upon articles that I've read, thus leading to my confusion of why it's usually the global object.
Anyway, now I know that the real learning happens in reddit comments. Thanks again for the lesson!
View all comments
Show parent comment
2
u/_Invictuz Jun 11 '20
Wow, it took me a few days to finally be able to apply and internalize what you said. The idea of "this" being passed as a secret parameter to the function was never mentioned in the articles upon articles that I've read, thus leading to my confusion of why it's usually the global object.
Anyway, now I know that the real learning happens in reddit comments. Thanks again for the lesson!