What is the result of below given line of code in Java Script?
5+4+'7'

 Posted by Virendradugar on 12/16/2009 | Category: JavaScript Interview questions | Views: 4272
Answer:

The answer is 97.

As 5 and 4 are integer so total becomes 9 and it's add '7' to it as string so it becomes 97.


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response