Q. What is the output of 1 + '2' + 3?

  • (A) 123
  • (B) 6
  • (C) 33
  • (D) 15
πŸ’¬ Discuss
βœ… Correct Answer: (A) 123
Explanation: JavaScript performs left-to-right concatenation when a string is involved.
Explanation by: Mr. Dubey
JavaScript performs left-to-right concatenation when a string is involved.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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