shim.js 231 B

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