MrShi
2025-07-19 edb50cb0dc65061d5ce9f8d4ff26fcee12b09eee
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');
};