Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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 is unobtrusive javascript? How to add behavior to an element using javascript?

972


How do you write a comment in javascript?

871


What is the role of a strict mode in javascript?

990


What is the difference between window and document in Javascript?

1064


Is javascript frontend or backend?

886


Does javascript have the concept level scope?

1002


What is a prompt box in javascript?

993


When would you use javascript closures?

876


What output will this program produce System.out.println(x+"+"+y+"="+(x+));

2042


Write a main method that prompts the user to enter the starting population, birth and death rates, and the number of years. The input birth and death rates cannot be negative, the starting population cannot be less than 2, and the number of years greater than 0. If the user enters an invalid value, this program will prompt user to re-enter the value until a valid value has been read. When all input values are valid, call on the methods above to compute estimated population and print result.

2301


How to use "join()" to create a string from an array using javascript?

984


What is the difference between an array and an object?

1009


Is jquery easier than javascript?

897


How do you access an element in an HTML document with JavaScript?

1005


What is var and let in javascript?

938