πŸ“Š JavaScript
Q. Consider the following code snippet :
Code:
var string2Number=parseInt("456pqr");
  • (A) 456pqr
  • (B) Exception
  • (C) NaN
  • (D) 456
πŸ’¬ Discuss
βœ… Correct Answer: (D) 456

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
261
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Vishal Gupta
Publisher
πŸ“ˆ
80%
Success Rate