shim.js 297 B

12345678
  1. "use strict";
  2. module.exports = function (t, a) {
  3. a.deep(t({ foo: "bar" }), [["foo", "bar"]], "Object");
  4. a.deep(t("raz"), [["0", "r"], ["1", "a"], ["2", "z"]], "Primitive");
  5. a.throws(function () { t(); }, TypeError, "Undefined");
  6. a.throws(function () { t(null); }, TypeError, "Undefined");
  7. };