Basic JavaScript Question: Download Questions PDF
What does "1"+2+4 evaluate to?
Answer:
Since 1 is a string, everything is a string, so the result is 124.
Download JavaScript Interview Questions And Answers
PDF
Previous Question | Next Question |
What Boolean operators does JavaScript support? | What are the ways to emit client-side JavaScript from server-side code in ASP. NET? |