Expert Developer JavaScript Question:
What would be the result of 3+2+"7″?
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.
Previous Question | Next Question |
What is === operator in JavaScript? | What is an undefined value in JavaScript? |