Understanding Short Circuit Evaluation Using &&

preview_player
Показать описание
In this tutorial I want to explain how short circuit evaluation works with the Logical AND (&&) operator. Most everyone understands logical AND when used in a conditional (both sides need to evaluate to true in order for the conditional to be true), but when it is used in short circuit, the meaning is sometimes lost.

Would you like to help keep this channel going?

Tutorials referred to in this video:

For more resources on JavaScript:

#javascript #AllThingsJavaScriptLLC
Рекомендации по теме
Комментарии
Автор

When new videos will come out with dark theme code editor? 😅

isarf
Автор

Sir, I am subscribed to your YouTube channel. It's been a while since I have not received a notification about new videos. Could you make videos about ES6+, and/or TS, please?

j.k.ravshanovich
Автор

But then in that case if you are returning from a function the first method would work, the one which has nested if statements correct ?

SachinYadav-ehvg