Commit 432374f3 authored by Ahmad Nemati's avatar Ahmad Nemati

git pull

parent 0b829bda
...@@ -71,13 +71,14 @@ async function init() { ...@@ -71,13 +71,14 @@ async function init() {
else if (start) else if (start)
arr2.push(arr[i]) arr2.push(arr[i])
} }
console.log(arr2)
balance=10000 balance=10000
for (let i=0;i<arr2.length;i++) for (let i=0;i<arr2.length;i++)
{ {
balance=balance+arr2[i].profit balance=balance+arr2[i].profit
arr2[i].balance=balance arr2[i].balance=balance
} }
console.log(arr2)
// let index=arrNew[0].index // let index=arrNew[0].index
// arrNew=[] // arrNew=[]
......
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