function eitherCallback(callback1, callback2) {
    // ADD CODE HERE
    return (e, i, arr) => {
        return callback1(e, i, arr) || callback2(e, i, arr);
    }
}
/*
Challenge: eitherCallback

Add code to the function eitherCallback in the place marked "ADD CODE HERE" in order to achieve the desired console logs.
Notice that the lines of code testing your work are using functions and an array from previous challenges.
The result of using eitherCallback to combine two callbacks into one callback and then passing that one callback into
filterArray should match the results of simply passing the two callbacks into eitherFilter in the previous challenge.
*/
eitherCallback
Add code to the function eitherCallback in the place marked "ADD CODE HERE" in order to achieve the desired console logs.
Notice that the lines of code testing your work are using functions and an array from previous challenges.
The result of using eitherCallback to combine two callbacks into one callback and then passing that one callback into
filterArray should match the results of simply passing the two callbacks into eitherFilter in the previous challenge.
eitherCallback Add code to the function eitherCallback in the place marked " ADD CODE HERE " in order to achieve the desired console logs . Notice that the lines of code testing your work are using functions and an array from previous challenges . The result of using eitherCallback to combine two callbacks into one callback and then passing that one callback into filterArray should match the results of simply passing the two callbacks into eitherFilter in the previous challenge .
function eitherCallback(callback1, callback2) {
    return (e, i, arr) => {
        return callback1(e, i, arr) || callback2(e, i, arr);
    }
}
function eitherCallback ( callback1 , callback2 ) { return ( e , i , arr ) => { return callback1 ( e , i , arr ) || callback2 ( e , i , arr ) ; } }
Challenge: eitherCallback
Add code to the function eitherCallback in the place marked "ADD CODE HERE" in order to achieve the desired console logs.
Challenge : eitherCallback Add code to the function eitherCallback in the place marked " ADD CODE HERE " in order to achieve the desired console logs .
// ADD CODE HERE