Node-Red configuration
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

es.number.is-nan.js 296B

1234567891011
  1. 'use strict';
  2. var $ = require('../internals/export');
  3. // `Number.isNaN` method
  4. // https://tc39.es/ecma262/#sec-number.isnan
  5. $({ target: 'Number', stat: true }, {
  6. isNaN: function isNaN(number) {
  7. // eslint-disable-next-line no-self-compare -- NaN check
  8. return number !== number;
  9. }
  10. });