JavaScript has many types of operators:
➤ Arithmetic Operators
Used for mathematical calculations:
- // Addition
- // Subtraction
- // Multiplication / // Division % // Modulus (Remainder) ** // Exponentiation ++ // Increment -- // Decrement
for example;
let a = 10;
let b = 3;
console.log(a + b); // 13
console.log(a % b); // 1
Top comments (0)