Legend:
- Unmodified
- Added
- Removed
-
imaps-frontend/node_modules/es-abstract/2022/IsStrictlyEqual.js
r0c6b92a r79a0317 9 9 10 10 module.exports = function IsStrictlyEqual(x, y) { 11 var xType = Type(x); 12 var yType = Type(y); 13 if (xType !== yType) { 11 if (Type(x) !== Type(y)) { 14 12 return false; 15 13 } 16 if ( xType === 'Number' || xType === 'BigInt') {17 return xType === 'Number' ? NumberEqual(x, y) : BigIntEqual(x, y);14 if (typeof x === 'number' || typeof x === 'bigint') { 15 return typeof x === 'number' ? NumberEqual(x, y) : BigIntEqual(x, y); 18 16 } 19 17 return SameValueNonNumeric(x, y);
Note:
See TracChangeset
for help on using the changeset viewer.