📜  简单数组求和 javascripthackerrank 解决方案 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:04:14.711000             🧑  作者: Mango

代码示例1
// Simple Array Sum javascript hackerrank solution
function simpleArraySum(ar) {
    // Write your code here
    let sumArray = 0;
    for(let i = 0; i