[1, 2, 3, 4].reduce(function (prev, cur) { return prev + cur; }, 0) //10
Copyright© 2013-2020
All Rights Reserved 京ICP备2023019179号-8