Returns a promise containing the reduced result from the provided function
Primary LanguageJavaScript