web 3d图形渲染器
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
331 B

  1. "use strict";
  2. var numIsNaN = require("../../number/is-nan");
  3. module.exports = function (t, a) {
  4. var x;
  5. a(t(0), 0, "0");
  6. a(t(false), false, "false");
  7. a(t(""), "", "''");
  8. a(numIsNaN(t(NaN)), true, "NaN");
  9. a(t((x = {})), x, "{}");
  10. a.throws(function () { t(); }, "Undefined");
  11. a.throws(function () { t(null); }, "null");
  12. };