Home / Programming MCQs / JavaScript MCQs / Question

P

Praveen Singh • 27.20K Points
Instructor II

Q. What output will come if we run the following part of the JavaScript code?

Code:
var string2Num=parseInt("123abc"); 
(A) Exception
(B) 123abc
(C) 123
(D) NaN

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.