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

How do I save javascript?

510


What is the use of blur function?

507


What are local variables in javascript?

479


How do I use an external javascript file?

504


What is camelcase in programming?

436






How to write normal text code using JavaScript dynamically?

508


Explain promise in javascript?

438


What is called variable typing in javascript?

520


What is client side programming?

471


Entire content of a JavaScript source file in a function block?

559


What is the role of javascript in a web page?

473


What is the use of Void(0)?

598


What does the "Access is Denied" IE error mean?

681


What is memory leak in javascript?

469


How to select an element by id and swapping an image?

480