Plato on Github
Report Home
node_modules/es5-ext/test/math/sign/shim.js
Maintainability
71.03
Lines of code
11
Difficulty
8.21
Estimated Errors
0.10
Function weight
By Complexity
By SLOC
'use strict'; var is = require('../../../object/is'); module.exports = function (t, a) { a(is(t(0), +0), true, "+0"); a(is(t(-0), -0), true, "-0"); a(t({}), NaN, true, "NaN"); a(t(-234234234), -1, "Negative"); a(t(234234234), 1, "Positive"); };