MrShi
2025-04-23 c8b32b8bca79a116cfab70eb8c389907b664c9ca
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');
};