]> git.r.bdr.sh - rbdr/dotfiles/blob
419c12367dbcd29bb23cb514be122b4c1ee4116f
[rbdr/dotfiles] /
1 'use strict';
2
3 module.exports = function (t, a) {
4 a(t({}), NaN, "NaN");
5 a(t(0), 1, "Zero");
6 a(t(Infinity), Infinity, "Infinity");
7 a(t(-Infinity), Infinity, "-Infinity");
8 a(t(1), 1.5430806348152437, "1");
9 a(t(Number.MAX_VALUE), Infinity);
10 a(t(-Number.MAX_VALUE), Infinity);
11 a(t(Number.MIN_VALUE), 1);
12 a(t(-Number.MIN_VALUE), 1);
13 };