1
0

shim.js 251 B

1234567891011
  1. 'use strict';
  2. module.exports = function (t, a) {
  3. a(t({}), NaN, "NaN");
  4. a(t(-1), NaN, "Negative");
  5. a(t(0), NaN, "Zero");
  6. a(t(0.5), NaN, "Below 1");
  7. a(t(1), 0, "1");
  8. a(t(2), 1.3169578969248166, "Other");
  9. a(t(Infinity), Infinity, "Infinity");
  10. };