es6.number.is-finite.js 247 B

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