indexes-of.js 395 B

123456789101112
  1. "use strict";
  2. module.exports = {
  3. "__generic": function (t, a) { a.deep(t.call(this, this[1]), [1]); },
  4. "": function (t, a) {
  5. var x = {};
  6. a.deep(t.call([1, 3, 5, 3, 5], 6), [], "No result");
  7. a.deep(t.call([1, 3, 5, 1, 3, 5, 1], 1), [0, 3, 6], "Some results");
  8. a.deep(t.call([], x), [], "Empty array");
  9. a.deep(t.call([x, 3, {}, x, 3, 5, x], x), [0, 3, 6], "Search for object");
  10. }
  11. };