Here, we will learn about the logical OR operator in JavaScript. We will also revisit the concept of the logical AND operator in JavaScript
0:00 Introduction
0:37 MDN Logical AND (&&) Logical OR (||)
1:13 Setting up an example with the logical AND operator
3:30 Setting up an else statement
4:35 Using the logical OR operator
6:25 Setting up a custom else message
10:55 Second example of using the logical Or Operator
JavaScript Playlist:
https://youtube.com/playlist?list=PLgIi4lM74yW2Mc8iFRJMgvamNWOOFDH-q
MDN Logical AND (&&) Operator:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Logical_AND
MDN Logical OR (||) Operator:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Logical_OR
NodeJS:
nodejs.org
VS Code:
code.visualstudio.com