2 * This method invokes `interceptor` and returns `value`. The interceptor is
3 * bound to `thisArg` and invoked with one argument; (value). The purpose of
4 * this method is to "tap into" a method chain in order to perform operations
5 * on intermediate results within the chain.
10 * @param {*} value The value to provide to `interceptor`.
11 * @param {Function} interceptor The function to invoke.
12 * @param {*} [thisArg] The `this` binding of `interceptor`.
13 * @returns {*} Returns `value`.
17 * .tap(function(array) {
24 function tap(value, interceptor, thisArg) {
25 interceptor.call(thisArg, value);