Closed sonnysasaka closed 3 years ago
To match with the expectation of JavaScript's native reduce() function, this adds a test case which doesn't pass initial accumulator.
Thanks for the review. Didn't realize that the same test has been added before. In that case, I will just add more description to it. Please take another look.
Seems like a duplicate. Closing.
To match with the expectation of JavaScript's native reduce() function, this adds a test case which doesn't pass initial accumulator.