DEV Community

Manav Misra
Manav Misra

Posted on

`if-else-if-else`

A seminal concept for any programming language is simple 'if this then that' logic.

In JavaScript a 'side effect' of if statements is that whatever expression we pass into it will always be coerced into a boolean.

Top comments (1)

Collapse
 
dreidoe profile image
dreidoe

error on this video preventing it from showing.