Plato on Github
Report Home
node_modules/es5-ext/object/is.js
Maintainability
85.92
Lines of code
7
Difficulty
11.25
Estimated Errors
0.04
Function weight
By Complexity
By SLOC
// 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: skip };