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 fe84431

Browse files
Merge pull request #38 from prajwalpoojary/patch-1
2 parents 9b43ab8 + c4ab366 commit fe84431

File tree

1 file changed

+2
-2
lines changed
  • 03_Operators and Expressions/00_Operators/02_Logical Operators

1 file changed

+2
-2
lines changed

‎03_Operators and Expressions/00_Operators/02_Logical Operators/00_.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ The `&&` operator is the logical and operator, which takes in two boolean values
55
1. true && true - evaluates to true
66
2. true && false - evaluates to false
77
3. false && true - evaluates to false
8-
4. false && false - evaluates to true
8+
4. false && false - evaluates to false
99

1010
The `||` operator is the logical or operator, which takes in two boolean values and returns true if one of the values are true. The four different cases are shown below:
1111

@@ -14,4 +14,4 @@ The `||` operator is the logical or operator, which takes in two boolean values
1414
3. false || true - evaluates to true
1515
4. false || false - evaluates to false
1616

17-
As JavaScript is a weakly typed language, any value can turn into true or false values. Every data type can be converted to it's boolean representation using double not (`!!`).
17+
As JavaScript is a weakly typed language, any value can turn into true or false values. Every data type can be converted to it's boolean representation using double not (`!!`).

0 commit comments

Comments
(0)

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