Challenge: Create Phone Number
This challenge will test your skills in implementing the slice function in JavaScript.
We'll cover the following...
Problem statement #
In this challenge, you have to define a function, createPhoneNumber
, that accepts an array of 10 integers (between 0 and 9). It should return a string of those numbers in the form of a ...