🌈 搜索
📅  最后修改于: 2022-03-11 15:01:45.451000             🧑  作者: Mango
var total = 0; for (var i = 0; i < myArr.length; i++) { total += myArr[i]; }