Write a JavaScript function which can take any number of
strings as arguments and outputs them as a single
concatenated string.
Answer Posted / madhav arora
Lets Declare two variables :"a" and "b" to solve this
problem :
var a = 'Hello world!';
var b = 'I am a JavaScript hacker.'
First of all, you can concatenate strings, sew them
together as it were:
document.write(a + b);
gives
Hello world!I am a JavaScript hacker
Is This Answer Correct ? | 4 Yes | 5 No |
Post New Answer View All Answers
What is javascript bom?
How many hours learn javascript?
What are the Non-primitive data types in JavaScript?
How many types of javascript are there?
Is jquery easier than javascript?
How to convert “20” to number in javascript?
Can you explain the difference between call and apply?
hi i want validations for two drop down lists. when user enter to second list by skipping first list alert box should appear.