shim.js 353 B

12345678910111213
  1. 'use strict';
  2. module.exports = function (t, a) {
  3. a(t({}), NaN, "NaN");
  4. a(t(0), 0, "Zero");
  5. a(t(Infinity), Infinity, "Infinity");
  6. a(t(-Infinity), -Infinity, "-Infinity");
  7. a(t(1), 1.1752011936438014, "1");
  8. a(t(Number.MAX_VALUE), Infinity);
  9. a(t(-Number.MAX_VALUE), -Infinity);
  10. a(t(Number.MIN_VALUE), 5e-324);
  11. a(t(-Number.MIN_VALUE), -5e-324);
  12. };