chapter 1
Introduction
Rather than introducing you to JavaScript, this chapter takes the approach of initiating you into it. After briefly discussing why JavaScript is worth learning, we jump immediately into writing and running a variety of real JavaScript programs.
1.1 Why JavaScript?
JavaScript, which is one of many programming languages that are in use today, is primarily known as the technology that allows web pages to become “dynamic” or “interactive.” Every programming language comes with its own merits, distinguishing features, fans, and detractors, all of which contribute to some rationale for why that language would be worthwhile to learn. In JavaScript's case, the language is worth learning for these reasons:
Virtually any computing ...
Get The JavaScript Programming Language 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.