3 module.exports = function (t, a) {
5 a.throws(function () { t(); }, TypeError, "Undefined");
6 a.throws(function () { t(null); }, TypeError, "Null");
10 a(t({}), String({}), "Object");
11 a(t(x = function () {}), String(x), "Function");
12 a(t(x = new String('raz')), String(x), "String object"); //jslint: ignore
13 a(t(x = new Date()), String(x), "Date");
15 a.throws(function () { t(Object.create(null)); }, TypeError, "Null prototype object");