Expert JavaScript Developer Question:
Download Job Interview Questions and Answers PDF
What does "1"+2+4 evaluate to?
Answer:
Since 1 is a string, everything is a string, so the result is 124.
Download Expert JavaScript Developer Interview Questions And Answers
PDF
Previous Question | Next Question |
How to write a script for "Select" lists using JavaScript? | What Boolean operators does JavaScript support? |