You work as a developer at ABC.com. The ABC.com network consists of a single domain named
ABC.com.
You have been instructed to test the value of the variable shown below:
var a = “200”;
You then write the following code:
if (a === “200”)
Which of the following is the purpose of this line of code?
A.
It allows a block of code to fire if the height is less than 200.
B.
It allows for a block of code to fire if the height equals 200, and the data type is string.
C.
It prevents a block of code from firing if the height equals 200.
D.
It prevents a block of code from firing if the length equals 200, and the data type is string.
Explanation: