Telephone number validator algorithm

telephoneCheck(
)
Returns:
 

I created this algorithm as a requirement for my freeCodeCamp JavaScript Algorithms and Data Structures Certification. It checks an entered string of text to see if it looks like a valid United States phone number (according to freeCodeCamp's parameters, at least).