1
0

uniq.js 340 B

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