Please open Telegram to view this post
VIEW IN TELEGRAM
β€6π3
π Take a deep dive into JavaScript, a Must-Know Language in Web Development, with a Hands-on, Example-driven Approach
Please open Telegram to view this post
VIEW IN TELEGRAM
β€37π3π₯3
09 - Working with the Window and Document Object Model (DOM).zip
262.1 MB
09 - Working with the Window and Document Object Model (DOM)
β€14π3
11 - JavaScript and Http Requests (AJAX).zip
63.3 MB
11 - JavaScript and Http Requests (AJAX)
β€14π5
12 - Libraries, Frameworks and Modules.zip
44.7 MB
12 - Libraries, Frameworks and Modules
β€21π2π₯2
Media is too big
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
β€15π10π₯3
Please open Telegram to view this post
VIEW IN TELEGRAM
β€34π9π₯8
The Answer:
Programming languages generally employ a strategy called "short circuit evaluation" where they don't evaluate a particular operand if they don't need to. This is exactly what is happening here.
Since the result is going to be false at the 4th element, there is no point in evaluating the rest of the items.
Programming languages generally employ a strategy called "short circuit evaluation" where they don't evaluate a particular operand if they don't need to. This is exactly what is happening here.
Since the result is going to be false at the 4th element, there is no point in evaluating the rest of the items.
π₯26β€24π7