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
Why javascript is not secure?
What are the decodeURI() and encodeURI()?
What does dynamic component in javascript contain?
The below script is working Internet browser but not working in mozilla plz find that good way... function doSubmit(op){ var rowcount=document.getElementsByName ("parameterTypeId").length; var parameterGrade; var performance; var goal; if(op == "save"){ for (var i=0; i < rowcount; i++) { var param=eval("document.forms [0].parameterGrade"+i); if(param.value != "select"){ return true; } } alert("Please rate atleast one attribute"); return false; }//if ends here
What is the use of window object?
What is an immediately-invoked function expression?
How to write comment in JavaScript?
Who created npm?
Which built-in method removes the last element from an array and returns that element?
What is console.log()?
discuss scoping in javascript?
How to you change the title of the page by javascript?
What is difference between array.splice() and array.slice() method in javascript?
what data type javascript supports?
What is a closure and why are they so useful to us?