Whenever we run code in JavaScript, we get access to some variables. In particular we get access to the global object, when JavaScript is running inside the browser, and secondly we get access to the this keyword.