In browser JavaScript, `window` is the global object: it provides access to global variables, other global objects, and browser APIs. Its `document` property represents the page’s DOM, which scripts can modify. section 2.2.2
var first = document.getElementById("first");
This example uses the global `document` object to find an element in the DOM. section 2.2.2

