From ef2ab1788691590187cd94fe79f21e1c52c6abba Mon Sep 17 00:00:00 2001 From: Mehyar Sawas Date: Mon, 29 Jan 2018 14:00:56 +0100 Subject: [PATCH] Operators explaination error corrected --- 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 da771b4c..c6f64a30 100644 --- a/1-js/02-first-steps/16-javascript-specials/article.md +++ b/1-js/02-first-steps/16-javascript-specials/article.md @@ -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. 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 AND `&&` and OR `||` perform short-circuit evaluation and then return the value where it stopped.