source:
frontend/node_modules/core-js/internals/not-a-nan.js
| Last change on this file was 9af201e, checked in by , 12 days ago | |
|---|---|
|
|
| File size: 215 bytes | |
| Line | |
|---|---|
| 1 | 'use strict'; |
| 2 | var $RangeError = RangeError; |
| 3 | |
| 4 | module.exports = function (it) { |
| 5 | // eslint-disable-next-line no-self-compare -- NaN check |
| 6 | if (it === it) return it; |
| 7 | throw new $RangeError('NaN is not allowed'); |
| 8 | }; |
Note:
See TracBrowser
for help on using the repository browser.
