Sha256: 17364939fc9a94d3215beba321f6499a30cf879af8f7bf2f42bdf54c9d7b30a6
Contents?: true
Size: 450 Bytes
Versions: 124
Compression:
Stored size: 450 Bytes
Contents
'use strict'; var GetIntrinsic = require('get-intrinsic'); var $TypeError = GetIntrinsic('%TypeError%'); var SameValue = require('./SameValue'); // https://262.ecma-international.org/7.0/#sec-samevaluenonnumber module.exports = function SameValueNonNumber(x, y) { if (typeof x === 'number' || typeof x !== typeof y) { throw new $TypeError('SameValueNonNumber requires two non-number values of the same type.'); } return SameValue(x, y); };
Version data entries
124 entries across 30 versions & 4 rubygems