Tuesday 5 July 2016

What does 3+2+”4” evaluate in javascript?.



Since 3 and 2 are integers, so it will do addition operation first and give the result 5. Now result 5 will concatenations with string 7and give the result 77.

No comments:

Post a Comment

Note: only a member of this blog may post a comment.