DEV Community

Avinashd
Avinashd

Posted on

Js in bits - 11.1(Logical Operators)

Learning js should be fun. It is fun if it's easy.
I tried my best in writing this, to understand it the easy way.

Logical Operators

Image description

OR ||

Image description

OR Rule

Image description

Few Examples to clear out confusion

Image description

Image description

Image description

Short circuit Evaluation

Image description

Leave y'r thoughts....

Top comments (0)