compose.js 378 B

12345678910
  1. "use strict";
  2. var f = function (a, b) { return ["a", arguments.length, a, b]; }
  3. , g = function (a) { return ["b", arguments.length].concat(a); }
  4. , h = function (a) { return ["c", arguments.length].concat(a); };
  5. module.exports = function (t, a) {
  6. a.deep(t.call(h, g, f)(1, 2), ["c", 1, "b", 1, "a", 2, 1, 2]);
  7. a.deep(t(h, g, f)(1, 2), ["c", 1, "b", 1, "a", 2, 1, 2]);
  8. };