|
Last change
on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 12 days ago |
|
Fix frontend appearance
|
-
Property mode
set to
100644
|
|
File size:
296 bytes
|
| Line | |
|---|
| 1 | 'use strict';
|
|---|
| 2 | var $ = require('../internals/export');
|
|---|
| 3 |
|
|---|
| 4 | // `Number.isNaN` method
|
|---|
| 5 | // https://tc39.es/ecma262/#sec-number.isnan
|
|---|
| 6 | $({ target: 'Number', stat: true }, {
|
|---|
| 7 | isNaN: function isNaN(number) {
|
|---|
| 8 | // eslint-disable-next-line no-self-compare -- NaN check
|
|---|
| 9 | return number !== number;
|
|---|
| 10 | }
|
|---|
| 11 | });
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.