source: trip-planner-front/node_modules/core-js/modules/es.number.is-nan.js@ b738035

Last change on this file since b738035 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 281 bytes
Line 
1var $ = require('../internals/export');
2
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});
Note: See TracBrowser for help on using the repository browser.