How to check if string contains only digits in JavaScript

Click a thumbnail to watch in a lightweight modal. (No downloads — view only.)