Expert Developer JavaScript Question:

What would be the result of 3+2+"7″?

Tweet Share WhatsApp

Answer:

Since 3 and 2 are integers, they will be added numerically. And since 7 is a string, its concatenation will be done. So the result would be 57.

Download Expert JavaScript Developer PDF Read All 150 Expert JavaScript Developer Questions
Previous QuestionNext Question
What is === operator in JavaScript?What is an undefined value in JavaScript?