Skip to content

Commit ef2ab17

Browse files
author
Mehyar Sawas
committed
Operators explaination error corrected
1 parent c693192 commit ef2ab17

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)