Writing JavaScript in the browser means that a lot of what we can do is limited by what the browser allows us to do. While core JavaScript functionality lets us create functions, math, and variables, what if, for example, we want to use the operating system’s notification system from our code? Or store something locally on the user’s computer? For each of these, JavaScript in the browser implements various Web APIs to allow programmers to access this functionality.
We’ve actually already encountered two of these ...