mirror of
https://github.com/valitydev/wazuh-kibana-app.git
synced 2024-11-07 02:15:24 +00:00
11 lines
250 B
JavaScript
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
|
|
};
|