Sorry this is basic things but I dont know java-script array
I have simple array with same number of index and n number of array, If index have no value it will be null
Array [
        0: Array [ null, 10222, 10222, null,9999 ]
        1: Array [ 1870963, 1845801, 1830263, null, null ]
        2: Array [ 1870963, 1845801, 1830263, null, null ]
        n: Array [ n, n, n, n, n ]
    ];
So I need to make in in single array with sum just like below.
Array [3741926,3701824,3670748,0,9999];
Just need to make sum and into single array.



