shim.js 205 B

123456789
  1. "use strict";
  2. module.exports = function (t, a) {
  3. a(t(2), true, "Number");
  4. a(t(2.34), false, "Float");
  5. a(t("23"), false, "Not numeric");
  6. a(t(NaN), false, "NaN");
  7. a(t(Infinity), false, "Infinity");
  8. };