Chapter 2. The JavaScript Language: Data, Operators, and Branching

The JavaScript Language: Data, Operators, and Branching

This and the next chapter cover the JavaScript language itself. To be able to tackle the built-in browser objects, the built-in JavaScript objects, Dynamic HTML, and more, we need to have a solid understanding of how to use JavaScript itself. The language is the glue that will bind our scripts together and put the various objects we’ll work with come under our control.

In this chapter, we’ll get started by seeing how JavaScript handles and stores data, how to work on that data, and how to test data values so we can take different actions in our code depending on what those values ...

Get Inside JavaScript 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.