dashboard
repositories
filestore
activity
search
login
刘苏义
/
ruoyi-api
forked from
ard/ruoyi-api
summary
commits
tree
docs
forks
compare
blame
|
history
|
raw
指挥端查看app历史轨迹提交
zhangnaisong
2024-02-20
c3cace620c5bc6b0049bf0c677f729ea2c406203
[~liusuyi/ruoyi-api.git]
/
ruoyi-ui
/
node_modules
/
es-abstract
/
helpers
/
reduce.js
1
2
3
4
5
6
7
8
9
'use strict';
module.exports = function reduce(arr, fn, init) {
var acc = init;
for (var i = 0; i < arr.length; i += 1) {
acc = fn(acc, arr[i], i);
}
return acc;
};