uniq.js 341 B

123456789101112
  1. "use strict";
  2. module.exports = {
  3. "__generic": function (t, a) { a(t.call(this).length, 3); },
  4. "": function (t, a) {
  5. var o, x = {}, y = {}, z = {}, w;
  6. o = [1, 2, x, 3, 1, "raz", "1", y, x, "trzy", z, "raz"];
  7. a.not((w = t.call(o)), o, "Returns different object");
  8. a.deep(w, [1, 2, x, 3, "raz", "1", y, "trzy", z], "Result");
  9. }
  10. };