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
β€26π₯3π1
09 - Working with the Window and Document Object Model (DOM).zip
262.1 MB
09 - Working with the Window and Document Object Model (DOM)
β€13π1
11 - JavaScript and Http Requests (AJAX).zip
63.3 MB
11 - JavaScript and Http Requests (AJAX)
β€13π1
12 - Libraries, Frameworks and Modules.zip
44.7 MB
12 - Libraries, Frameworks and Modules
β€18π1π₯1
Media is too big
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
β€11π10π₯2
Please open Telegram to view this post
VIEW IN TELEGRAM
β€29π7π₯7
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.
π₯24β€21π6