Using Operators

JavaScript operators allow you to alter the value of a variable. You are already familiar with the = operator used to assign values to variables. JavaScript provides several different operators that fall into two categories: arithmetic and assignment operators.

Get Node.js, MongoDB, and AngularJS 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.