package.internals.not-a-nan.js Maven / Gradle / Ivy
The newest version!
'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');
};
© 2015 - 2024 Weber Informatics LLC | Privacy Policy