A

Admin • 833K Points
Coach

Q. Consider the following code snippet :

Code:
var string2Number=parseInt("456pqr");
  • (A) 456pqr
  • (B) Exception
  • (C) NaN
  • (D) 456
  • Correct Answer - Option(D)
  • Views: 25
  • Filed under category JavaScript
  • Hashtags:

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.