Q. What is the output of: console.log('5' + 3);

  • (A) 8
  • (B) 53
  • (C) NaN
  • (D) Error
πŸ’¬ Discuss
βœ… Correct Answer: (B) 53
Explanation: The + operator with a string and number results in string concatenation, so '5' + 3 = '53'.
Explanation by: Chandani
The + operator with a string and number results in string concatenation, so '5' + 3 = '53'.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
64
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Chandani
Publisher
πŸ“ˆ
81%
Success Rate