How to mask an input field for mobile number

This isn’t something that’s apart of our core JS, but that’s not to say it shouldn’t be. In the meantime, do you have any good examples that would accomplish what you’re looking for?