Files
Arbitrate-FrontendH5/node_modules/core-js/internals/not-a-nan.js
T

9 lines
215 B
JavaScript
Raw Normal View History

2024-01-18 10:46:33 +08:00
'use strict';
var $RangeError = RangeError;
module.exports = function (it) {
// eslint-disable-next-line no-self-compare -- NaN check
if (it === it) return it;
throw new $RangeError('NaN is not allowed');
};