SOURCE

function sum(arr) { 
    let h = 0; 
    arr.forEach(item=>{ h+=parseInt(item) }) 
    return h
}
let arr = [
    '0x59893f8c2ee9f00000',
    '0x31e0d054277d2a0000',
    '0x1043561a8829300000',
    '0x51c8b97dd469140000',
    '0x2bed9679b00a4a0000',
    '0x0ad78ebc5ac6200000',
    '0x3f91180f4c870a0000',
    '0x1741922b0f82940000',
    '0x9159d18d20f0200000',
    '0x500878d6f663f00000'
]
console.log(sum(arr))
console 命令行工具 X clear

                    
>
console