MCPcopy Create free account
hub / github.com/node-inspector/node-inspector / curry

Function curry

front-end/UglifyJS/parse-js.js:1193–1196  ·  view source on GitHub ↗
(f)

Source from the content-addressed store, hash-verified

1191/* -----[ Utilities ]----- */
1192
1193function curry(f) {
1194 var args = slice(arguments, 1);
1195 return function() { return f.apply(this, args.concat(slice(arguments))); };
1196};
1197
1198function prog1(ret) {
1199 if (ret instanceof Function)

Callers 3

parseFunction · 0.85
expr_atomFunction · 0.85
subscriptsFunction · 0.85

Calls 1

sliceFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…