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