© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2023
J. SimpsonHow JavaScript Works https://doi.org/10.1007/978-1-4842-9738-4_11

11. Introduction to Web APIs

Jonathon Simpson1  
(1)
Belfast, Antrim, UK
 

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 ...

Get How JavaScript Works: Master the Basics of JavaScript and Modern Web App Development 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.