is-implemented.js 227 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 "use strict"; module.exports = function () { var numberIsFinite = Number.isFinite; if (typeof numberIsFinite !== "function") return false; return !numberIsFinite("23") && numberIsFinite(34) && !numberIsFinite(Infinity); };