shim.js 234 B

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