Preface
JavaScript has come a long way since its introduction in late 1995. In the early days, the core APIs built into web browsers were limited. More advanced functionality typically required third-party JavaScript libraries, or in some cases even browser plug-ins.
A web API is a series of global objects and functions exposed by the browser. Your JavaScript code can use these to interact with the Document Object Model (DOM), perform network communication, integrate with native device features, and much more.
The Power of Modern Browsers
Modern web APIs have two big advantages for the web platform:
- No more plug-ins
-
In the past, much of this functionality was only available to native applications or clunky browser plug-ins. (Remember ActiveX and Flash?)
- Fewer third-party dependencies
-
Modern browsers provide considerable functionality that used to require third-party JavaScript libraries. Popular libraries such as jQuery, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access