A

Admin • 828.03K Points
Coach

Q. What will be the output of 0 == '0'?

  • (A) true
  • (B) false
  • (C) undefined
  • (D) NaN
  • Correct Answer - Option(A)
  • Views: 4
  • Filed under category JavaScript
  • Hashtags:

Explanation by: Admin
== compares values after type conversion, so 0 == '0' is true.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.