Commit 89a3b8b9 authored by Ahmad Nemati's avatar Ahmad Nemati

git pull

parent cce83659
...@@ -58,7 +58,8 @@ let index=arrNew[0].index ...@@ -58,7 +58,8 @@ let index=arrNew[0].index
arrNew=[] arrNew=[]
let sums = 0 let sums = 0
for (let i = index; i < arr.length; i++) { for (let i = index; i < arr.length; i++) {
if (i ===index)
console.log(arr)
sums = sums + parseFloat(arr[i].profit) sums = sums + parseFloat(arr[i].profit)
// if (arrNew.length ===0) // if (arrNew.length ===0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment