]> git.r.bdr.sh - rbdr/dotfiles/blob - atom/packages/vim-mode/node_modules/grim/node_modules/emissary/node_modules/es6-weak-map/node_modules/es5-ext/object/is.js
5778b502d924cd52e837bf8cdee0947f3b131df7
[rbdr/dotfiles] / atom / packages / vim-mode / node_modules / grim / node_modules / emissary / node_modules / es6-weak-map / node_modules / es5-ext / object / is.js
1 // Implementation credits go to:
2 // http://wiki.ecmascript.org/doku.php?id=harmony:egal
3
4 'use strict';
5
6 module.exports = function (x, y) {
7 return (x === y) ?
8 ((x !== 0) || ((1 / x) === (1 / y))) :
9 ((x !== x) && (y !== y)); //jslint: ignore
10 };