Question: 2. Write a simple JavaScript function named makeLocation with three parameters named city, state, and zipcode. The function should return a String that contains the

 2. Write a simple JavaScript function named makeLocation with three parameters

2. Write a simple JavaScript function named makeLocation with three parameters named city, state, and zipcode. The function should return a String that contains the city, a comma and a space, the state, a space, and the zipcode. For example, if the function were called like this var region = makeLoc ation("Rexburg", "Idaho", "83448"); it would return "Rexburg, Idaho 83440" without the double quotes

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!