How to check if string contains only digits in JavaScript - YouTube

How to check if string contains only digits in JavaScript - YouTube