shim.js 257 B

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