DEV Community

Avinashd
Avinashd

Posted on

Js in bits - 11.2(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.

AND &&

Image description

AND Rule

Image description

Few examples to clear out confusion

Image description

Image description

First Falsy value

Image description

Leave y'r thoughts....

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs