Expert JavaScript Developer Question:

Download Job Interview Questions and Answers PDF

How about 2+5+"8"?

Expert JavaScript Developer Interview Question
Expert JavaScript Developer Interview Question

Answer:

Since 2 and 5 are integers, this is number arithmetic, since 8 is a string, it's concatenation, so 78 is the result.

Download Expert JavaScript Developer Interview Questions And Answers PDF

Previous QuestionNext Question
Which Web sites do you feel use JavaScript most effectively (i.e., best-in-class examples)? The worst?Can you please explain the difference between SessionState and ViewState?