February 2008
Beginner
416 pages
9h 53m
English
After reading this chapter, you'll be able to
Understand the operators available in JavaScript.
Use JavaScript operators to perform math, assignments, relational tests, and equality tests.
Use the void operator to open a new window through a link.
The ECMA-262 standard defines assorted operators of various forms. These include:
Additive operators
Multiplicative operators
Bitwise operators
Equality operators
Relational operators
Unary operators
Assignment operators
Operators can be used both on literal values, like the number 10, and on variables and other objects in JavaScript.
The term additive operators includes both addition and subtraction operators. It seems a bit of a misnomer, ...
Read now
Unlock full access