Show More
Commit Description:
merge
Commit Description:
merge
References:
File last commit:
Show/Diff file:
Action:
node_modules/es5-ext/test/function/#/compose.js
| 10 lines
| 378 B
| application/javascript
| JavascriptLexer
|
r789 | "use strict"; | |||
var f = function (a, b) { return ["a", arguments.length, a, b]; } | ||||
, g = function (a) { return ["b", arguments.length].concat(a); } | ||||
, h = function (a) { return ["c", arguments.length].concat(a); }; | ||||
module.exports = function (t, a) { | ||||
a.deep(t.call(h, g, f)(1, 2), ["c", 1, "b", 1, "a", 2, 1, 2]); | ||||
a.deep(t(h, g, f)(1, 2), ["c", 1, "b", 1, "a", 2, 1, 2]); | ||||
}; | ||||