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 11889e6

Browse files
feat: add logical operators
1 parent 6eaad58 commit 11889e6

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

‎Topic1/index.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,3 +75,12 @@ console.log(10 >= 10);
7575
console.log(10 <= 7);
7676
console.log(10 !== 10);
7777
console.log(10 === 10);
78+
79+
80+
// Question: Logical operators
81+
console.log(10 > 6 && 5 < 9 && 18 > 9);
82+
console.log(10 < 6 || 15 < 9 || 18 > 9);
83+
console.log(!(10 > 6));
84+
85+
86+

0 commit comments

Comments
(0)

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