πŸ“Š JavaScript
Q. Which built-in method parses a string to an integer?
  • (A) parseInt()
  • (B) parseFloat()
  • (C) Number()
  • (D) toInteger()
πŸ’¬ Discuss
βœ… Correct Answer: (A) parseInt()

Explanation: parseInt() converts a string to an integer.

Explanation by: Mr. Dubey
parseInt() converts a string to an integer.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
63
Total Visits
πŸ“½οΈ
11 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
87%
Success Rate