🌈 搜索
📅  最后修改于: 2022-03-11 15:03:10.543000             🧑  作者: Mango
arr.reduce((total, obj) => obj.credit + total,0) // 3