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 O’Reilly online learning.

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