Blame view
node_modules/es5-ext/object/is.js
250 Bytes
f7563de62
|
1 2 3 4 5 6 7 8 9 10 |
// 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 }; |