MCPcopy
hub / github.com/codemix/fast.js / bindInternal_0_0_1

Function bindInternal_0_0_1

test/history.js:111–123  ·  view source on GitHub ↗
(func, thisContext, numArgs)

Source from the content-addressed store, hash-verified

109
110
111function bindInternal_0_0_1 (func, thisContext, numArgs) {
112 switch (numArgs) {
113 case 3: return function(a, b, c) {
114 return func.call(thisContext, a, b, c);
115 };
116 case 4: return function(a, b, c, d) {
117 return func.call(thisContext, a, b, c, d);
118 };
119 }
120 return function() {
121 return func.apply(thisContext, arguments);
122 };
123}
124
125exports.map_0_0_1 = function fastMap (subject, fn, thisContext) {
126 var length = subject.length,

Callers 1

history.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…