exclusion.js 374 B

123456789101112131415
  1. 'use strict';
  2. module.exports = {
  3. __generic: function (t, a) {
  4. var x = {};
  5. a.deep(t.call(this, this, [this[0], this[2], x]), [x]);
  6. },
  7. "": function (t, a) {
  8. var x = {}, y = {};
  9. a.deep(t.call([x, y]), [x, y], "No arguments");
  10. a.deep(t.call([x, 1], [], []), [x, 1], "Empty arguments");
  11. a.deep(t.call([1, 'raz', x], [2, 'raz', y], [2, 'raz', x]), [1, y]);
  12. }
  13. };