shim.js 340 B

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