shim.js 256 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), Infinity, "Infinity");
  6. a(t(-Infinity), -Infinity, "-Infinity");
  7. a(t(-1), -1, "-1");
  8. a(t(1), 1, "1");
  9. a(t(2), 1.2599210498948732, "Ohter");
  10. };