πŸ“Š JavaScript
Q. What will be the output of the following code snippet?
Code:
print(parseInt("123Hello"));
print(parseInt("Hello123"));
  • (A) 123 NaN
  • (B) 123Hello Hello123
  • (C) NaN NaN
  • (D) 123 123
πŸ’¬ Discuss
βœ… Correct Answer: (A) 123 NaN

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
362
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Admin
Publisher
πŸ“ˆ
97%
Success Rate