How about 2+5+"8"?

Answer Posted / nirupa

its 258 becoz string plus anything equals string...

Is This Answer Correct ?    1 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

java pgm for compare two vesion and print the greatest version on the console. e.g: like 1.4.2 and 1.5.2 biggest is 1.5.2 1.2.5 and 1.2.8 biggest is 1.2.8

1713


What does “1?+2+4 Evaluate to? What about 5 + 4 + “3??

636


What are the boolean operators supported by javascript? And operator: &&

565


You have an asp. Net web application running on a web-farm that does not use sticky sessions - so the requests for a session are not guaranteed to be served the same machine. Occasionally, the users get error message validation of view state mac failed. What could be one reason that is causing this error?

614


What would be the result of 2+5+”3″?

613






Which javascript is best?

580


What is hoisting in javascript?

563


How to detect the OS on the client machine in JavaScript?

706


Name the numeric constants representing max, min values?

605


Name the types of functions.

589


why we need java instead of c

1274


What is Browser Object Model?

627


What are the variable naming conventions in javascript?

555


What is NaN in Javascript?

597


What are screen objects?

594