# JavaScript Arithmetic Operators - Java Operators with Example

## JavaScript Arithmetic Operators

• Arithmetic operators perform arithmetic on numbers (literals or variables).
Operator Description
- Subtraction
* Multiplication
** Exponentiation (ES2016)
/ Division
% Modulus (Remainder)
++ Increment
-- Decrement

## Arithmetic Operations

• A typical arithmetic operation operates on two numbers.
• The two numbers can be literals.

## Operators and Operands

• The numbers (in an arithmetic operation) are called operands.
• The operation (to be performed between the two operands) is defined by an operator.
Operand Operator Operand
100 + 50

## Subtracting

• The subtraction operator (-) subtracts numbers.

## Multiplying

• The multiplication operator (*) multiplies numbers.

## Dividing

• The division operator (/) divides numbers.

## Remainder

• The modulus operator (%) returns the division remainder.

## Incrementing

• The increment operator (++) increments numbers.

## Decrementing

• The decrement operator (--) decrements numbers.

## Exponentiation

• The exponentiation operator (**) raises the first operand to the power of the second operand.

## Operator Precedence

• Operator precedence describes the order in which operations are performed in an arithmetic expression.