Skip to content

Instantly share code, notes, and snippets.

View foysalimran's full-sized avatar
🏠
Working from home 💖 WordPress

Foysal Hossain foysalimran

🏠
Working from home 💖 WordPress
View GitHub Profile
/*
What is logical operator?
Logical operators usually used to ensure logic between variables and values.
There are 3 types of logical operators.
=>> and / && - It used between 2 operands and if any of them are true then whole thing will true or if any of them are false then whole thing will false. Or if both of statement false full thing will be false.
=> OR / || - It also use between 2 operands and if any of operand true will pass true, if both operand true also will pass true. If only both statements are false then will pass false.