UNPKG

compound-ex4

Version:

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

11 lines (9 loc) 261 B
'use strict'; module.exports = function (t, a) { a(t({}), 0, "NaN"); a(t(20), 20, "Positive integer"); a(t('-20'), -20, "String negative integer"); a(t(Infinity), Infinity, "Infinity"); a(t(15.343), 15, "Float"); a(t(-15.343), -15, "Negative float"); };