Tuesday, 31 July 2012

Previous Interview Question Next Interview Question
Home

in javascript What does “1″+2+4 evaluate to? What about 5 + 4 + “3″?


Since 1 is a string, everything is a string, so the result is 124. In the second case, its 93.

Previous Interview Question Next Interview Question
Home

0 comments :

Post a Comment