program showing string concatenation?

Answer Posted / vinoth180

var a="hello"
var b="JavaScript"
document.write(a+b);


Try this one...their is no need for the third for calculation

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to create array in JavaScript?

786


What are the requirements of web application using javascript?

731


How many types of data types are there?

647


What is null javascript?

659


What is difference between arrow function and normal function?

659


Explain the working of timers in javascript?

713


Explain why asynchronous code is important in javascript?

743


How do I open javascript in browser?

670


How do I run javascript on my iphone?

706


Which built-in method returns the string representation of the number’s value?

893


What is javascript bom?

740


what difference between args.length and args.length() in command line argument?

2004


What is the use of debugger keyword in javascript?

680


What are disadvantages of using javascript?

716


What is Number object in JavaScript?

752