Question: The output of the code below is false because: ((2 * 90) === 180) && (false && (!false)) A. The statement contains false boolean in
The output of the code below is false because:
((2 * 90) === 180) && (false && (!false))
A. The statement contains false boolean in it and when combined with other variables it turns them to false as well.
B. The statement is evaluating 2 different sub expressions. The results of these expressions are then compared. Since one is false, the whole statement evaluates to false.
C. The statement is too complex and error prone, essentially resulting in false.
D. The statement is trying to combine numbers (2, 90, 180) with the wrong symbols and hence resulting false.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
