shim.js 256 B

1234567891011
  1. 'use strict';
  2. module.exports = function (t, a) {
  3. a(t({}), NaN, "NaN");
  4. a(t(-2), NaN, "Less than -1");
  5. a(t(2), NaN, "Greater than 1");
  6. a(t(-1), -Infinity, "-1");
  7. a(t(1), Infinity, "1");
  8. a(t(0), 0, "Zero");
  9. a(t(0.5), 0.5493061443340549, "Ohter");
  10. };