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 does the instanceof operator do?
How do you name a variable in javascript?
What does three dots mean in texting?
How do I turn off javascript in chrome?
How to detect the OS on the client machine in JavaScript?
How do you clear an array in javascript?
What is difference between javascript and jscript?
Is javascript a programming language?
What is the Infinity property used for in Javascript?
What is the use of 'bind' method in JavaScript?
What is a closure javascript?
What is unobtrusive javascript? How to add behavior to an element using javascript?
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
Which keyword is used to print the text in the screen?
Name some of the Javascript frameworks?