9. Browsers and Windows
You learned in previous chapters that
Browser windows have a couple of properties that mostly deal with the size and position of the window on the screen. These properties are read-only, and you’ll need to use the
window methods described in the next sections to change their values.
• innerHeight, innerWidth Represent the pixel values of the size of the browser viewport. ...