Write a JavaScript function which can take any number of
strings as arguments and outputs them as a single
concatenated string.

Answer Posted / szilveszter safar

function concatStrings () {
return Array.prototype.join.call(arguments, '');
}

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are screen objects?

594


What does a typeof operator do?

662


Which is best for front end?

549


Why is object naming important to use in javascript?

582


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

538






Why is it called javascript?

555


What is the use of a map object in javascript?

533


What is let keyword in typescript?

643


Explain few difference between null, undefined or undeclared javascript variable?

567


How to get value from radiobuttonlist control?

564


Where are cookies actually stored on the hard disk?

597


What's math constants and functions using javascript?

590


What is the real name of JavaScript?

640


Public Static Void Main(String args[]) { System.out.in("Hai.."); } In the above code why string args[] is required.... If we are not giving command line argument..

1683


What are the Advantages and Disadvantages of JavaScript?

605