is-implemented.js 197 B

1234567
  1. 'use strict';
  2. module.exports = function () {
  3. var isFinite = Number.isFinite;
  4. if (typeof isFinite !== 'function') return false;
  5. return !isFinite('23') && isFinite(34) && !isFinite(Infinity);
  6. };