JS Number Only String

let isnum = /^\d+$/.test(val);
Combative Cat