In this part, we will start learning how to target the browser. The browser gives us a hierarchy of objects, at the very top of this hierarchy is the “window” object.
We already know about the functional scope and the global scope. Anything global can be accessed from the entire code block. But, anything inside the functional scope can only be accessed within that function.