Q. What will this return?

Code:
console.log('10' - '4' - '3' - 2 + '5');
  • (A) 15
  • (B) 1
  • (C) 15
  • (D) 15undefined
πŸ’¬ Discuss
βœ… Correct Answer: (C) 15
Explanation: '10' - '4' - '3' - 2 = 1, then 1 + '5' = '15'.
Explanation by: Chandani
'10' - '4' - '3' - 2 = 1, then 1 + '5' = '15'.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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