Introduction
JavaScript is a programming language primarily used as a client-side scripting language for controlling how web sites behave. In this environment the language complements HTML, which describes the structure of web documents; and CSS, the style language that defines their appearance. When embedded on a web page, JavaScript allows the page to execute code and respond dynamically to user actions, providing responsiveness and interactivity in a way not achievable using only HTML.
As the de facto client-side scripting language for the Web, most every browser includes an engine for running JavaScript source code. Historically, these engines ran JavaScript code line by line without preliminary compilation, so-called interpretation. Nowadays ...
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