first
This commit is contained in:
8
node_modules/core-js/internals/not-a-nan.js
generated
vendored
Normal file
8
node_modules/core-js/internals/not-a-nan.js
generated
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
'use strict';
|
||||
var $RangeError = RangeError;
|
||||
|
||||
module.exports = function (it) {
|
||||
// eslint-disable-next-line no-self-compare -- NaN check
|
||||
if (it === it) return it;
|
||||
throw $RangeError('NaN is not allowed');
|
||||
};
|
Reference in New Issue
Block a user