Operators
Operator | JavaScript | Description |
Equal To | == | do not use this as it does not coerce the data |
Equal To | === | |
Not Equal To | != | do not use this one |
Not Equal To | !== | |
Not | ! | !true !false |
Greater Than | > | |
Less Than | < | |
Less Than or Equal To | <= | |
Greater Than or Equal Tp | >= | |
AND | && | |
OR | || | short-circuiting, only evaluates until the first thruthy value |
++ | ||
-- | ||
*= | ||
/= | ||
Modulo or Remainder | % | |
Division | / | |
Addition | + | |
Subtraction | - | |
typeof |
© 2023 Better Solutions Limited. All Rights Reserved. © 2023 Better Solutions Limited TopPrevNext