How about 2+5+"8"?
Answers were Sorted based on User's Feedback
Answer / madhu
int + int + String = int + String = String
2 + 5 + "8" = 7 + "8" = "78"
| Is This Answer Correct ? | 16 Yes | 2 No |
Answer / gp
"2"+4+6 = 246
but
2+4+"6" = 66
also
"2"+4+"6" = 246
"2"+4+6+8 = 2468
| Is This Answer Correct ? | 2 Yes | 3 No |
Answer / rofiqul islam
integer + integer + String = integer + String
2 + 5 + "8" = 7+"8"
| Is This Answer Correct ? | 4 Yes | 8 No |
Answer / nirupa
its 258 becoz string plus anything equals string...
| Is This Answer Correct ? | 1 Yes | 10 No |
Why it is not advised to use innerhtml in javascript?
Do unused imports affect performance javascript?
What are the different types of errors in javascript?
What will be the output of the code below? var Y = 1; if (function F(){}) { y += Typeof F;</span> } console.log(y);
What is the difference between the keywords var and let?
How to write normal text code using JavaScript dynamically?
What is array constructor in javascript?
how to use java script
how to get no of items from from weblist?
Is javascript object a hash table?
What's Prototypes for JavaScript
Create an array in javascript with a list of 4 colors, assign that array to the variable, ‘colors’.