Legend:
- Unmodified
- Added
- Removed
-
imaps-frontend/node_modules/es-abstract/2024/SameValueNonNumber.js
r0c6b92a r79a0317 9 9 10 10 module.exports = function SameValueNonNumber(x, y) { 11 var xType = Type(x); 12 if (xType === 'Number') { 11 if (typeof x === 'number') { 13 12 throw new $TypeError('Assertion failed: SameValueNonNumber does not accept Number values'); 14 13 } 15 if ( xType!== Type(y)) {14 if (Type(x) !== Type(y)) { 16 15 throw new $TypeError('SameValueNonNumber requires two non-Number values of the same type.'); 17 16 }
Note:
See TracChangeset
for help on using the changeset viewer.