shim.js 275 B

123456789101112
  1. 'use strict';
  2. module.exports = function (t, a) {
  3. a(t(1), 31, "1");
  4. a(t(1000), 22, "1000");
  5. a(t(), 32, "No arguments");
  6. a(t(Infinity), 32, "Infinity");
  7. a(t(-Infinity), 32, "-Infinity");
  8. a(t("foo"), 32, "String");
  9. a(t(true), 31, "Boolean");
  10. a(t(3.5), 30, "Float");
  11. };