Front end of the Slack clone application.

e-index-of.js 554B

1234567891011121314
  1. "use strict";
  2. module.exports = function (t, a) {
  3. var x = {};
  4. a(t.call([3, "raz", {}, x, {}], x), 3, "Regular");
  5. a(t.call([3, "raz", NaN, {}, NaN], NaN), 2, "NaN");
  6. a(t.call([3, "raz", 0, {}, -0], -0), 2, "-0");
  7. a(t.call([3, "raz", -0, {}, 0], +0), 2, "+0");
  8. a(t.call([3, "raz", NaN, {}, NaN], NaN, 3), 4, "fromIndex");
  9. a(t.call([3, "raz", NaN, {}, NaN], NaN, -1), 4, "fromIndex negative #1");
  10. a(t.call([3, "raz", NaN, {}, NaN], NaN, -2), 4, "fromIndex negative #2");
  11. a(t.call([3, "raz", NaN, {}, NaN], NaN, -3), 2, "fromIndex negative #3");
  12. };