How about 2+5+"8"?

Answer Posted / madhu

int + int + String = int + String = String
2 + 5 + "8" = 7 + "8" = "78"

Is This Answer Correct ?    16 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Where do I put javascript code in html?

595


How to detect the operating system on the client machine?

567


How do you create array in javascript?

597


Can you explain how inheritance works in javascript?

610


How use javascript html?

555






Is javascript hard to learn?

567


How to get the type of arguments passed to a function?

605


How do you organize your JavaScript code?

669


What is purpose of onerror event handler in javascript?

560


What is console.log() and why it is used?

684


How to import all exports of a file as an object.

587


How to prevent modification of an object in Javascript?

637


What is data type in javascript?

547


What is client side programming?

563


Text from your clipboard?

582