Question: Declare a variable named cellPhonellumbers and assign it an array containing 3 nested arrays of phone numbers. For example: Next declare a function named createPhoneNumbers

Declare a variable named cellPhonellumbers and assign it
an array containing 3 nested arrays of phone numbers.
For example:
Next declare a function named createPhoneNumbers that
takes an Array as the parameter.
Inside of the function, use arrey methods to join the phone
numbers together with a dash, push those values into a
storage arrey and then join the results. For example, the outpl
should be:
You must use 3 Array methods.
Retum the storage array
Declare a variable named cellPhonellumbers and

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 Programming Questions!