Legend:
- Unmodified
- Added
- Removed
-
imaps-frontend/node_modules/es-abstract/5/StrictEqualityComparison.js
r0c6b92a r79a0317 6 6 7 7 module.exports = function StrictEqualityComparison(x, y) { 8 var xType = Type(x); 9 var yType = Type(y); 10 if (xType !== yType) { 8 if (Type(x) !== Type(y)) { 11 9 return false; 12 10 } 13 if ( xType === 'Undefined' || xType === 'Null') {11 if (typeof x === 'undefined' || x === null) { 14 12 return true; 15 13 }
Note:
See TracChangeset
for help on using the changeset viewer.