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 |
Can you explain about screen object?
How to Object.entries( ) In JavaScript ?
What is the difference between write and writeln in javascript?
What is decodeuri() function?
What is use of object as function?
What does undefined value mean in javascript?
What is the function of deferred scripts?
What are all the types of Pop up boxes available in JavaScript?
write a program using javascript/ vbscript that checks if two matrices have identical values in all the elements.
Is javascript enabled on my computer?
Explain the for-in loop?
List some design patterns in javascript?