Q. What will be the output of the following code snippet?
Code:
print(parseInt("123Hello"));
print(parseInt("Hello123"));
β
Correct Answer: (A)
123 NaN
print(parseInt("123Hello"));
print(parseInt("Hello123"));
You must be Logged in to update hint/solution