hexo/node_modules/core-js/library/modules/es6.number.is-nan.js

10 lines
220 B
JavaScript
Raw Normal View History

2023-09-25 15:58:56 +08:00
// 20.1.2.4 Number.isNaN(number)
var $export = require('./_export');
$export($export.S, 'Number', {
isNaN: function isNaN(number) {
// eslint-disable-next-line no-self-compare
return number != number;
}
});