Skip to content

65-valid-number

DevGod
DevGod
Vtuber
/**
* @param {string} s
* @return {boolean}
*/
var isNumber = function(s) {
return !isNaN(s) && !s.includes("Infinity");
};