Log in / create account | Login with OpenID
DocForge
An Open Wiki For Software Developers

JavaScript/Operators

From DocForge

* / % + - Basic arithmetic operators (multiply, divide, modulus, addition, subtraction
& Bitwise and
| Bitwise or
^ Bitwise xor
~ Bitwise not
<< >> Shift left/right
>>> Shift right (preserve sign)
= Assignment (can be combined with operators above)
== Test equality
=== Test if identical
 != Not equal
 !== Not identical
< Less than
> Greather than
<= Less than or equal
>= Greater than or equal
&& Logical and
|| Logical or
 ! Logical not
 ? : Trinary comparison operator
typeof
instanceof
new
delete