3 module.exports = function (t, a) {
5 a.throws(function () { t(0); }, TypeError, "0");
6 a.throws(function () { t(false); }, TypeError, "false");
7 a.throws(function () { t(''); }, TypeError, "''");
8 a(t(x = {}), x, "Object");
9 a(t(x = function () {}), x, "Function");
10 a(t(x = new String('raz')), x, "String object"); //jslint: ignore
11 a(t(x = new Date()), x, "Date");
13 a.throws(function () { t(); }, TypeError, "Undefined");
14 a.throws(function () { t(null); }, TypeError, "null");