EASYAIuniappNewUI/node_modules/core-js/internals/not-a-nan.js
2025-02-08 18:50:38 +08:00

9 lines
215 B
JavaScript

'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');
};