Working with Arithmetic Operators and Functions
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 ...
Get JavaScript: 20 Lessons to Successful Web Development now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.