O'Reilly logo

JavaScript for Sound Artists by Steve Leonard, William Turner

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

3  Operators

You learned about the basic assignment operator (=) and some of the arithmetic operators in the previous chapter. In this chapter, we are going to explore other assignment operators, as well as comparison operators, that allow you to determine the relationship between variables and values, such as whether they have the same value. We will also explore the Boolean data type, which has either a true or a false value that can be assigned to variables or is the result of a comparison operation.

Images  What Are Operators?

Operators represent actions that you use to change the value of a variable, or compare values or variables. The word

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required