Question: What will happen if we call isNAN function on seventy-eight and 78? A. It will return false for both seventy-eight and 78 because both are

What will happen if we call isNAN function on seventy-eight and 78?

A. It will return false for both seventy-eight and 78 because both are numbers.

B. It will return true for seventy-eight and 78 because seventy-eight is a string and 78 is a number.

C. It will return false for seventy-eight and true for 78 because seventy-eight is easy to read and 78 is not.

D. It will return false for both seventy-eight and 78 because JavaScript will treat seventy-eight and 78 the same though auto conversion.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!