shim.js 244 B

12345678910
  1. "use strict";
  2. module.exports = function (t, a) {
  3. a(t({}), NaN, "NaN");
  4. a(t(-0.5), NaN, "Less than 0");
  5. a(t(0), -Infinity, "0");
  6. a(t(1), 0, "1");
  7. a(t(Infinity), Infinity, "Infinity");
  8. a(t(3).toFixed(15), "1.584962500721156", "Other");
  9. };