Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 1bd8f97

Browse files
authored
Merge pull request #731 from maurodibert/patch-10
Update article.md
2 parents 4eac4ef + 697bbf8 commit 1bd8f97

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
@@ -149,7 +149,7 @@ Ternary
149149
: The only operator with three parameters: `cond ? resultA : resultB`. If `cond` is truthy, returns `resultA`, otherwise `resultB`.
150150

151151
Logical operators
152-
: Logical AND `&&` and OR `||` perform short-circuit evaluation and then return the value where it stopped.
152+
: 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.
153153

154154
Comparisons
155155
: 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:

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /