Files
Iliyan Angelov 306b20e24a Frontend start
2025-09-14 00:54:48 +03: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');
};