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
What companies use javascript?
How to access an external javascript file that is stored externally and not embedded?
How to make elements invisible?
What web sites do you feel use javascript most effectively (i.e., Best-in-class examples)? The worst?
How to detect browser name using JavaScript?
What is the scope of variables in JavaScript?
Explain the for-in loop?
What is the use of Void(0)?
What is the use of let & const in javascript?
Is javascript necessary?
Name the datatypes of javascript?
What is singleton class in javascript? Explain
What is prototype in javascript and how do you use it?
What are the variables in javascript?
What does the term sticky session mean in a web-farm scenario? Why would you use a sticky session? What is the potential disadvantage of using a sticky session?