Back to Browse

JavaScript for Beginners #19 Logical OR operator (||) in JavaScript

601 views
Jan 12, 2021
12:59

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

Download

1 formats

Video Formats

360pmp420.4 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

JavaScript for Beginners #19 Logical OR operator (||) in JavaScript | NatokHD