Commit 18567aac authored by Ahmad Nemati's avatar Ahmad Nemati

git pull

parent 89a3b8b9
...@@ -59,7 +59,7 @@ let index=arrNew[0].index ...@@ -59,7 +59,7 @@ let index=arrNew[0].index
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) if (i ===index)
console.log(arr) console.log(arr[i])
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