Do you know how it works? - The "this" keyword
TL;DR:
In JavaScript, the value of this depends entirely on how a function is called, not where it was defined.
It can reference the global object (window/global), the calling object, undefined (in s...