]> git.r.bdr.sh - rbdr/dotfiles/blob - atom/packages/vim-mode/node_modules/grim/node_modules/emissary/node_modules/es6-weak-map/node_modules/es5-ext/test/math/sign/shim.js
b6b89c15889dc4af39837b03ba53e016fbd67e07
[rbdr/dotfiles] / atom / packages / vim-mode / node_modules / grim / node_modules / emissary / node_modules / es6-weak-map / node_modules / es5-ext / test / math / sign / shim.js
1 'use strict';
2
3 var is = require('../../../object/is');
4
5 module.exports = function (t, a) {
6 a(is(t(0), +0), true, "+0");
7 a(is(t(-0), -0), true, "-0");
8 a(t({}), NaN, true, "NaN");
9 a(t(-234234234), -1, "Negative");
10 a(t(234234234), 1, "Positive");
11 };