linwenling
2023-08-07 f4712176c562694c9b5fa1750cd0eb7733c6bbab
1
2
3
4
5
6
7
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');
};