Underscore.js _.iterators.accumulateWithReturn() method
With the help of _.iterators.accumulateWithReturn() method, we can expect to return two values in an array when the iterator function is called the output of the current iteration is passed to the next iteration value by using this method. Syntax: _.iterators.accumulateWithReturn(iter, binaryFn, ini