Chapter 5. Core

All programming languages have to contain structures that allow you to say, “If this is the case, then do that,” or to perform calculations, or to define bits of code that should be run repeatedly. These structures—the structures that actually make JavaScript a programming language—are part of the JavaScript Core language.

In this long chapter, we’ll discuss the Core syntax and structures you use most often. For beginners, Core is the most complicated area of JavaScript, partly because some features are technically dense, and partly because their practical use is not always evident. On the other hand, common Core functionalities such as operators, variables, and functions work pretty intuitively.

Although I tried to treat all ...

Get ppk on JavaScript now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.