DEV Community

Manav Misra
Manav Misra

Posted on

1

`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.

SurveyJS custom survey software

JavaScript Form Builder UI Component

Generate dynamic JSON-driven forms directly in your JavaScript app (Angular, React, Vue.js, jQuery) with a fully customizable drag-and-drop form builder. Easily integrate with any backend system and retain full ownership over your data, with no user or form submission limits.

Learn more

πŸ‘‹ Kindness is contagious

Please leave a ❀️ or a friendly comment on this post if you found it helpful!

Okay