1.0.6 • Published 2 years ago
final_assessment v1.0.6
Phone-Number-Formatter
The goal of this library is to create a JavaScript function that takes in an unfornatted phone number and returns a formatted phone number.
NPM Package
https://www.npmjs.com/package/final_assessment
Test-App
https://github.com/ayushjain-10/test_app
Function 1
formatPhoneNumber()
- returns formatted phone number
Example: '9809142333' -> (980) 914-2333