Node-Red configuration
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

not-a-nan.js 215B

12345678
  1. 'use strict';
  2. var $RangeError = RangeError;
  3. module.exports = function (it) {
  4. // eslint-disable-next-line no-self-compare -- NaN check
  5. if (it === it) return it;
  6. throw new $RangeError('NaN is not allowed');
  7. };