compound-ex4
Version:
Compound-ex4 - MVC framework for NodeJS (ExpressJs 4 version), fork compoundjs(https://github.com/1602/compound)
13 lines (11 loc) • 354 B
JavaScript
;
module.exports = function (t, a) {
a(t('arar'), false, "String");
a(t(12), false, "Number");
a(t(false), true, "Boolean");
a(t(new Boolean(false)), true, "Boolean object");
a(t(new Date()), false, "Date");
a(t(new String('raz')), false, "String object");
a(t({}), false, "Plain object");
a(t(/a/), false, "Regular expression");
};