es6.number.is-finite.js 246 B

123456789
  1. // 20.1.2.2 Number.isFinite(number)
  2. var $export = require('./_export');
  3. var _isFinite = require('./_global').isFinite;
  4. $export($export.S, 'Number', {
  5. isFinite: function isFinite(it) {
  6. return typeof it == 'number' && _isFinite(it);
  7. }
  8. });