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

What are the datatypes in javascript?

419


what is the difference between the below two statements:- (1) var myname = "akiii"; (2) myname = "akiii";

533


If you need to hide the javascript code from the older browser versions, how will you perform it?

522


To write messages to the screen without using "document.write()"?

465


Why is javascript dangerous?

493






What are the decodeURI() and encodeURI()?

593


What is the difference between innerhtml & innertext?

481


Define closure.

498


How to test 404 page in QA

2014


Write the code for adding new elements dynamically?

600


How do I add javascript to chrome?

520


What is a hash javascript?

518


How to create array in JavaScript?

546


How many days it will take to learn javascript?

467


Can you explain the difference between == and ===?

496