shim.js 219 B

123456789
  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), -1, "-Infinity");
  7. a(t(1).toFixed(15), '1.718281828459045', "1");
  8. };