DEV Community

loading...

Discussion on: Phone Number Formatter JavaScript

Collapse
codefinity profile image
Manav Misra

Looks 👀 good!

If desired, can drop all of those else to shorten it up as the 'early returns' in the ifs will exit the fxn. any way.