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

What are the string methods?

719


In Javascript are calculations with fractional numbers guaranteed to be precise?

763


What are the uses of javascript in web page designing?

679


How long does it take to learn coding?

796


Why is javascript so important?

730


What is the difference between innerhtml & innertext?

690


How will you explain closures in javascript? When are they used?

788


What is data types in javascript?

715


Can an anonymous function be assigned to a variable?

686


a code in vb script, which creates a table of 5*2 in html this is a static table, one more same dynamic table, as we give input the table should get created.

1348


What is new keyword in javascript?

685


Explain javascript debounce function?

799


What is the difference between .call() and .apply()?

812


List some of the disadvantages of javascript.

730


What does === mean in js?

698