Strong equality
<p>You have been instructed to test the value of the variable shown below:</p>

<pre><code>var length = "50";
</code></pre>

<p>You then write the following code:</p>

<pre><code>if (length === 50)
</code></pre>

<p>Which of the following is the purpose of this line of code?</p>

<p><code>A.</code> It prevents a block of code from firing if the length equals 50, and the data type is integer.</p>

<p><code>B.</code> It prevents a block of code from firing if the length equals 50, and the data type is string.</p>

<p><code>C.</code> It allows for a block of code to fire if the length equals 50 regardless of the data type.</p>

<p><code>D.</code> It allows a block of code from firing if the length equals 50 depending on the data type.</p>

<p>Can I have answer for the above ?</p>

<p><code>My Answer is D</code>.But it says it wrong.What yours ?</p>
