A

Admin • 833K Points
Coach

Q. What will be the output of '10' - 2?

  • (A) 8
  • (B) 102
  • (C) NaN
  • (D) Error
  • Correct Answer - Option(A)
  • Views: 26
  • Filed under category JavaScript
  • Hashtags:

Explanation by: Admin

The minus operator converts the string to a number automatically.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.