JAVA SCRIPT
June 3, 2026 2 min read

JavaScript Arithmetic, Relational, and Logical Operators

HS
HEMANT SINGH
Technical Writer & Educator

Arithmetic Operators

SymbolsResult
+Add two number, concat string
-Subtract two number
*Multiplication
/Divide numbers, return quotient
%Divide numbers, return remainder
**Return exponent

Relational Operators

<Return true if left operand is smaller than right operand
<=Return true if left operand is smaller or equal than right operand
>Return true if left operand is greater than right operand
>=Return true if left operand is greater or equal than right operand
!=Return true if left operand is not equal to right operand
==Return true if left operand is equal to right operand

Logical Operators

&&Return true if all given conditions are true otherwise false
||Return true if one or more given conditions are true otherwise false
!Return invert of given input