(
this: unknown,
accumulator: unknown,
element: unknown,
index: number,
array: unknown,
)
| 127 | // For reduce/reduceRight, the callback signature is different |
| 128 | if (methodName === `reduce` || methodName === `reduceRight`) { |
| 129 | const reduceCallback = function ( |
| 130 | this: unknown, |
| 131 | accumulator: unknown, |
| 132 | element: unknown, |
| 133 | index: number, |
| 134 | array: unknown, |
| 135 | ) { |
| 136 | const proxiedElement = getProxiedElement(element, index) |
| 137 | return callback.call(this, accumulator, proxiedElement, index, array) |
| 138 | } |
| 139 | return methodFn.apply(changeTracker.copy_, [ |
| 140 | reduceCallback, |
| 141 | ...args.slice(1), |
nothing calls this directly
no test coverage detected
searching dependent graphs…