polyfills.Object.is.raw.js Maven / Gradle / Ivy
The newest version!
// Object.is
Object.is = function is(a, b) {
return (a === b && (a !== 0 || 1 / a === 1 / b)) || (a !== a && b !== b);
};
// Object.is
Object.is = function is(a, b) {
return (a === b && (a !== 0 || 1 / a === 1 / b)) || (a !== a && b !== b);
};