UNPKG

compound-ex4

Version:

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

13 lines (11 loc) 235 B
'use strict'; module.exports = function (t, a) { var d = new Date(); a(t(d), d, "Date"); a.throws(function () { t({}); }, "Object"); a.throws(function () { t({ valueOf: function () { return 20; } }); }, "Number object"); };