jiangping
2025-07-17 6b96f204e4083d32996c2943a25e36c15d668bd1
1
2
3
4
5
6
7
8
'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');
};