Skip to content

Commit 59e1e98

Browse files
authored
Merge pull request #363 from MehyarSawas/master
Operators Explanation error corrected
2 parents c693192 + ef2ab17 commit 59e1e98

File tree

1 file changed

+1
-1
lines changed
  • 1-js/02-first-steps/16-javascript-specials

1 file changed

+1
-1
lines changed

1-js/02-first-steps/16-javascript-specials/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ Bitwise
148148
: Bitwise operators work with integers on bit-level: see the [docs](mdn:/JavaScript/Reference/Operators/Bitwise_Operators) when they are needed.
149149

150150
Ternary
151-
: The only operator with three parameters: `cond ? resultA : result B`. If `cond` is truthy, returns `resultA`, otherwise `resultB`.
151+
: The only operator with three parameters: `cond ? resultA : resultB`. If `cond` is truthy, returns `resultA`, otherwise `resultB`.
152152

153153
Logical operators
154154
: Logical AND `&&` and OR `||` perform short-circuit evaluation and then return the value where it stopped.

0 commit comments

Comments
 (0)