jiangping
2025-07-03 cd1eb4f48fbbba55154e9aec80ec93f48e9c075b
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');
};