(func, thisContext, numArgs)
| 109 | |
| 110 | |
| 111 | function 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 | |
| 125 | exports.map_0_0_1 = function fastMap (subject, fn, thisContext) { |
| 126 | var length = subject.length, |
no outgoing calls
no test coverage detected
searching dependent graphs…