37. Javascript Logical Operators – Full stack web development Course
18.3K views on YouTube
In this FullStackWebDevelopment tutorial series video, We will learn about #javascript #logical #operators . These go along with conditional and comparison operators. There are three logical operators in JavaScript: || (OR), && (AND), ! (NOT). Although they are called “logical”, they can be applied to values of any type, not only boolean. Their result can also be of any type.
– OR(||) Operator
If any of its arguments are true, it returns true, otherwise it returns false.
For eg. x=6 and y=3
(x == 5 || y == 5) is false
(x == 6 || y == 5) is true
– AND(&&) Operator
AND returns true if both operands are true otherwise false.
For eg. x=6 and y=3
(x == 5 || y == 5) is false
(x == 6 || y == 5) is true
(x == 6 || y == 3) is true
– NOT(!) Operator
x=6 and y=3
(x!=y) is true
—————————-
Week 1 : Day 6
Section 5 : Learning to Code With Javascript
Tutorial 37: Javascript Logical Operators
Project Work Link : https://wbweb.co.in/learn/37-conditionals-operators.js.zip
—————————-
Do subscribe and hit Bell Icon
—————————-
Follow us in social media handles for opportunities and code related support.
Instagram: https://www.instagram.com/wb.web/
Facebook: https://www.facebook.com/wbweb/
Twitter: https://twitter.com/wbweb_in/
LinkedIn: https://www.linkedin.com/company/wbweb/
———————————————————-
Got a question on the topic? Please share it in the comment section below and our experts will answer it for you.
For more information, please write back to us at hi@wbweb.co.in or call us at IND: 7077568998
After completing the course, write to biswabijaya@wbweb.co.in for internship or freelancing opportunities.
For consultation or partnership related queries drop a mail to hi@wbweb.co.in.