Here is my array(这是我的数组)
arr = [2,3,4]
here is my functions(这是我的职能)
function functionMultpily(p1, p2) {
return( p1 * p2);
}
function functionADD(p1, p2) {
return( p1 + p2);
}
I need to use this functions in a promise such that it should complete one after another by taking the values from arr by using Reduce function.(我需要在promise中使用此函数,以便它应该通过使用Reduce函数从arr中获取值来一个接一个地完成。)
ask by Mar1009 translate from so
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…