PageRenderTime 24ms CodeModel.GetById 18ms app.highlight 2ms RepoModel.GetById 2ms app.codeStats 0ms

/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)
2module.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};