wazuh-kibana-app/node_modules/es5-ext/object/is.js
2016-06-28 19:30:19 -07:00

11 lines
250 B
JavaScript

// Implementation credits go to:
// http://wiki.ecmascript.org/doku.php?id=harmony:egal
'use strict';
module.exports = function (x, y) {
return (x === y) ?
((x !== 0) || ((1 / x) === (1 / y))) :
((x !== x) && (y !== y)); //jslint: ignore
};