10 lines
220 B
JavaScript
10 lines
220 B
JavaScript
// 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;
|
|
}
|
|
});
|