Please enable JavaScript.
Coggle requires JavaScript to display documents.
Operators in JS (Types (binary (requires two operands), unary (requires…
Operators in JS
Types
binary
requires two operands
unary
requires one operand either before or after the operator
x++, ++x
ternary
02 - Arithmatic Operators
+, -, *, /, %
+=, -=, *=, /=
operator precedence
01 - Assignment Operators
=
x = 10, x = y
03 - Comparison Operators
==, !=, >, <, >=, <=
04 - Logical Operators
&&, ||, !
05 - String Operators
"m " + "y"