9. JavaScript and the Browser
It may seem strange to have a chapter focused on the browser, as almost every example in the book takes place entirely within a browser. That’s what JavaScript is primarily used for after all. But there are plenty of specific things to learn about when it comes to JavaScript and the browser. The most important subject covered in this chapter is DOM manipulation, but you’ll also pick up quite a few other things, mostly involving the window
object. I should add that a couple of topics mentioned in this chapter should not be used, or should be used only sparingly. Odd as their inclusion may seem, I still discuss these outdated topics as they were once common, and you may see them in other references. Further, covering ...
Get Modern JavaScript: Develop and Design now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.