Q. What will be the output of '5' + 2 in JavaScript?

  • (A) 52
  • (B) 7
  • (C) NaN
  • (D) Error
πŸ’¬ Discuss
βœ… Correct Answer: (A) 52
Explanation: The + operator with a string and number results in string concatenation.
Explanation by: Mr. Dubey
The + operator with a string and number results in string concatenation.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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