mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-25 09:55:15 +00:00
11 lines
281 B
JavaScript
11 lines
281 B
JavaScript
var $ = require('../internals/export');
|
|
|
|
// `Number.isNaN` method
|
|
// https://tc39.es/ecma262/#sec-number.isnan
|
|
$({ target: 'Number', stat: true }, {
|
|
isNaN: function isNaN(number) {
|
|
// eslint-disable-next-line no-self-compare -- NaN check
|
|
return number != number;
|
|
}
|
|
});
|