* inlined Object.is polyfill to avoid requiring consumers ship their own * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is
(x, y)
| 13242 | * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is |
| 13243 | */ |
| 13244 | function is(x, y) { |
| 13245 | return x === y && (x !== 0 || 1 / x === 1 / y) || x !== x && y !== y // eslint-disable-line no-self-compare |
| 13246 | ; |
| 13247 | } |
| 13248 | |
| 13249 | var objectIs = typeof Object.is === 'function' ? Object.is : is; |
| 13250 |