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

What is the best free ide?

481


what data type javascript supports?

538


How do I enable javascript on google?

495


What is the difference between undefined value and null value?

516


What is strict mode?

704






What is "this"?

519


Is javascript client side or server side?

482


What is NaN?

563


What are the primitive data types in JavaScript?

544


What is stack queue?

471


What is the use of Void(0)?

598


What is spread syntax?

469


How do you know if a set of points is a function?

454


How can JavaScript be used?

533


Define unescape() function?

528