One of the most common ways to form expressions in JavaScript is to use operators like these:
// Operators act on values(the operands) to produce a new value.
// Arithmetic operators are most common:
3 + 2 //=>5: addition
3 - 2 //=>1: subtraction
时间: 2024-11-05 15:58:40