MrShi
2026-04-29 32215c93706df98eb06e518ed3e59a58bf571436
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');
};