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