Please open Telegram to view this post
VIEW IN TELEGRAM
08 - Built-in Objects & Functions.zip
107.1 MB
08 - Built-in Objects & Functions
09 - Working with the Window and Document Object Model (DOM).zip
262.1 MB
09 - Working with the Window and Document Object Model (DOM)
11 - JavaScript and Http Requests (AJAX).zip
63.3 MB
11 - JavaScript and Http Requests (AJAX)
12 - Libraries, Frameworks and Modules.zip
44.7 MB
12 - Libraries, Frameworks and Modules
Media is too big
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
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.