2016-10-10 03:43:44 +02:00
|
|
|
// 20.1.2.2 Number.isFinite(number)
|
2017-08-14 05:01:11 +02:00
|
|
|
var $export = require('./_export');
|
|
|
|
var _isFinite = require('./_global').isFinite;
|
2016-10-10 03:43:44 +02:00
|
|
|
|
|
|
|
$export($export.S, 'Number', {
|
2017-08-14 05:01:11 +02:00
|
|
|
isFinite: function isFinite(it) {
|
2016-10-10 03:43:44 +02:00
|
|
|
return typeof it == 'number' && _isFinite(it);
|
|
|
|
}
|
2017-08-14 05:01:11 +02:00
|
|
|
});
|