mirror of
https://github.com/biobulkbende/biobulkbende.org.git
synced 2024-12-27 05:15:25 +00:00
11 lines
200 B
JavaScript
11 lines
200 B
JavaScript
|
"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");
|
||
|
};
|