]> git.r.bdr.sh - rbdr/dotfiles/blob
ff326ba7a95bbbda0cff41fbd10ee98eebc7dbf7
[rbdr/dotfiles] /
1 'use strict';
2
3 module.exports = function (t, a) {
4 a(t({}), 0, "NaN");
5 a(t(20), 20, "Positive integer");
6 a(t('-20'), -20, "String negative integer");
7 a(t(Infinity), Infinity, "Infinity");
8 a(t(15.343), 15, "Float");
9 a(t(-15.343), -15, "Negative float");
10 };