Operators explaination error corrected

This commit is contained in:
Mehyar Sawas 2018-01-29 14:00:56 +01:00
parent c693192018
commit ef2ab17886

View file

@ -148,7 +148,7 @@ Bitwise
: Bitwise operators work with integers on bit-level: see the [docs](mdn:/JavaScript/Reference/Operators/Bitwise_Operators) when they are needed. : Bitwise operators work with integers on bit-level: see the [docs](mdn:/JavaScript/Reference/Operators/Bitwise_Operators) when they are needed.
Ternary Ternary
: The only operator with three parameters: `cond ? resultA : result B`. If `cond` is truthy, returns `resultA`, otherwise `resultB`. : The only operator with three parameters: `cond ? resultA : resultB`. If `cond` is truthy, returns `resultA`, otherwise `resultB`.
Logical operators Logical operators
: Logical AND `&&` and OR `||` perform short-circuit evaluation and then return the value where it stopped. : Logical AND `&&` and OR `||` perform short-circuit evaluation and then return the value where it stopped.