Javascript - Operator (Mathematical, Comparison, ..)

About

Language - Operator in javascript

List

Mathematical

+   //Add
-   //Subtract
*   //Multiply
/   //Divide
( and ) // Control order of operations

Comparison

Javascript - Comparison (Equal, Order,..) =

==  //Equal to
!=  //Not equal to
<   //Less than
>   //Greater than
<=  //Less than or equal to
>=  //Greater than or equal to

Logical

See Javascript - Logical Operator

||  // Or
&&  // And

Bit Wise

Bit - Bitwise and Shift binary operator

~ // Bitwise NOT Operator





Discover More
Javascript - Special Characters

Characters that can act as: Expression operator (ie an operator) The beginning of a statement ( [ + Concat or addition - Minus / Division Regular expression Example: / as a regular...



Share this page:
Follow us:
Task Runner