JavaScript - Operators
Operator precedence:
. [] () // Refinement and invocation
delete new type of + - ! // Unary operators
* / % // Multiplication, division, and modulo
+ - // addition or concatenation, substraction
>= <= < // Inequality comparison
=== !== // Equality
&& // Logical AND
|| // Logical OR
?: // Ternary
The && operator produces the value of its first operand if the first operand
is falsy. Otherwise, it produces the value of the second operand.
The || operator produces the value of its first operand if the first operand
is truthy. Otherwise, it produces the value of the second operand.
page revision: 1, last edited: 17 Nov 2016 23:31