O'Reilly logo

JavaScript: 20 Lessons to Successful Web Development by Robin Nixon

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

Images

Working with Arithmetic Operators and Functions

image

         To view the accompanying video for this lesson, please visit mhprofessional.com/nixonjavascript/.

In the previous lesson, you saw a few examples of operators in action, such as the + sign used either for addition or for concatenating strings together, the - sign used for subtraction, and the = operator used for assigning values.

But JavaScript supports many more operators than that, such as *, /, and more, and also includes functions you can use for more advanced expression evaluation, such ...

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