()
| 48 | |
| 49 | var bound; |
| 50 | var binder = function () { |
| 51 | if (this instanceof bound) { |
| 52 | var result = target.apply( |
| 53 | this, |
| 54 | concatty(args, arguments) |
| 55 | ); |
| 56 | if (Object(result) === result) { |
| 57 | return result; |
| 58 | } |
| 59 | return this; |
| 60 | } |
| 61 | return target.apply( |
| 62 | that, |
| 63 | concatty(args, arguments) |
| 64 | ); |
| 65 | |
| 66 | }; |
| 67 | |
| 68 | var boundLength = max(0, target.length - args.length); |
| 69 | var boundArgs = []; |
nothing calls this directly
no test coverage detected
searching dependent graphs…