📄 not-a-nan.js
/home/palash/git/site/node_modules/core-js-pure/internals/not-a-nan.js
Language: js • Lines: 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');
};