/node_modules/babel-polyfill/node_modules/core-js/library/modules/_same-value.js

https://bitbucket.org/worklabschd/bingle_customer2 · JavaScript · 5 lines · 3 code · 0 blank · 2 comment · 5 complexity · ea6d312141dc50e1edb647c4584e2ebb MD5 · raw file

  1. // 7.2.9 SameValue(x, y)
  2. module.exports = Object.is || function is(x, y) {
  3. // eslint-disable-next-line no-self-compare
  4. return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y;
  5. };