Перейти к содержимому

Understanding Short Circuit Evaluation Using &&

All Things JavaScript, LLC

0:00 / 0:00

Understanding Short Circuit Evaluation Using &&

1 482 просмотра · 3 года назад
All Things JavaScript, LLC
38,2 тыс. подписчиков
1 482 просмотра · 3 года назад
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? https://www.patreon.com/bePatron?u=73... Courses offered on Udemy at a discount (access from my site): http://allthingsjavascript.com/course... Tutorials referred to in this video: Truthy and Falsy Values:    • JavaScript Truthy and Falsy: When to Use i...   For more resources on JavaScript: http://www.allthingsjavascript.com #javascript #AllThingsJavaScriptLLC