The keyword this when used in a function refers to the global object.
this
Note: in a browser window the global object is the window object.
window
Visit the following resources to learn more: