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