From 697bbf8c10519de62c6e00039ac09c54f4369a9d Mon Sep 17 00:00:00 2001 From: Mau Di Bert Date: Mon, 14 Jan 2019 10:05:27 -0300 Subject: [PATCH] Update article.md Since there are mentioned other things explained in less detail (as Bitwise operators), could be useful to have this explained here. --- 1-js/02-first-steps/16-javascript-specials/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1-js/02-first-steps/16-javascript-specials/article.md b/1-js/02-first-steps/16-javascript-specials/article.md index 525e72d4c8..bc1b8c6400 100644 --- a/1-js/02-first-steps/16-javascript-specials/article.md +++ b/1-js/02-first-steps/16-javascript-specials/article.md @@ -149,7 +149,7 @@ Ternary : The only operator with three parameters: `cond ? resultA : resultB`. If `cond` is truthy, returns `resultA`, otherwise `resultB`. 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. Logical NOT `!` converts the operand to boolean type and returns the inverse value. Comparisons : Equality check `==` for values of different types converts them to a number (except `null` and `undefined` that equal each other and nothing else), so these are equal: