Chapter 5
JavaScript Operators
Key Skills & Concepts
    Understanding the Operator Types
    Understanding Arithmetic (Mathematical) Operators
    Understanding Assignment Operators
    Understanding Comparison Operators
    Understanding Logical Operators
    Understanding Order of Operations
image
Operators do much of the work in scripts. In the previous chapters, you have seen examples of the use of the assignment (=) and addition (+) operators. JavaScript offers many other types of operators to perform various operations.
This chapter begins by giving you an introduction to the different types of JavaScript operators. Then, you will learn ...

Get JavaScript: A Beginner's Guide, Fourth Edition, 4th Edition now with O’Reilly online learning.

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