Commit 0b829bda authored by Ahmad Nemati's avatar Ahmad Nemati

git pull

parent dc8e2e7a
...@@ -72,6 +72,12 @@ async function init() { ...@@ -72,6 +72,12 @@ async function init() {
arr2.push(arr[i]) arr2.push(arr[i])
} }
console.log(arr2) console.log(arr2)
balance=10000
for (let i=0;i<arr2.length;i++)
{
balance=balance+arr2[i].profit
arr2[i].balance=balance
}
// 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