Q. What will be the result of '5' + 2?

  • (A) 52
  • (B) 7
  • (C) undefined
  • (D) NaN
πŸ’¬ Discuss
βœ… Correct Answer: (A) 52
Explanation: JavaScript converts 2 to a string and performs string concatenation.
Explanation by: Mr. Dubey
JavaScript converts 2 to a string and performs string concatenation.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
75
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
82%
Success Rate