Commit cdfe9284 authored by Ahmad Nemati's avatar Ahmad Nemati

git pull

parent 48acfab6
...@@ -26,7 +26,7 @@ async function init() { ...@@ -26,7 +26,7 @@ async function init() {
arr=_.orderBy(arr,['date']) arr=_.orderBy(arr,['date'])
createfileADV(JSON.stringify(arr, null, 2))
for (let i=0;i<arr.length;i++) for (let i=0;i<arr.length;i++)
{ {
...@@ -79,7 +79,7 @@ async function init() { ...@@ -79,7 +79,7 @@ async function init() {
balance=balance+arr2[i].profit balance=balance+arr2[i].profit
arr2[i].balance=balance arr2[i].balance=balance
} }
console.log(arr2) createfileADV(JSON.stringify(arr2, null, 2))
// 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