A

Admin • 802.91K Points
Coach

Q. What will be the result of '5' + 2?

  • (A) 52
  • (B) 7
  • (C) undefined
  • (D) NaN
  • Correct Answer - Option(A)
  • Views: 1
  • Filed under category JavaScript
  • Hashtags:

Explanation by: Admin
JavaScript converts 2 to a string and performs string concatenation.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.