You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
200 B
11 lines
200 B
2 years ago
|
"use strict";
|
||
|
|
||
|
module.exports = function (t, a) {
|
||
|
a(t(NaN), 0, "NaN");
|
||
|
a(t(-343), 0, "Negative");
|
||
|
a(t(232342), 232342, "Positive");
|
||
|
a.throws(function () {
|
||
|
t(1e23);
|
||
|
}, TypeError, "Too large");
|
||
|
};
|