UNPKG

compound-ex4

Version:

Compound-ex4 - MVC framework for NodeJS (ExpressJs 4 version), fork compoundjs(https://github.com/1602/compound)

9 lines (7 loc) 199 B
'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"); };