Commit 8effadec authored by Ahmad Nemati's avatar Ahmad Nemati

init

parent 6283d28f
...@@ -20,7 +20,7 @@ run() ...@@ -20,7 +20,7 @@ run()
async function run() async function run()
{ {
let obj={sort:'profitPerMonth',alocatedReserve:10} let obj={sort:'profitPerMonth',alocatedReserve:10,}
let all=[] let all=[]
for (let i=0;i<arr.length;i++) for (let i=0;i<arr.length;i++)
all.push(add(arr[i])) all.push(add(arr[i]))
......
...@@ -43,11 +43,11 @@ async function run() { ...@@ -43,11 +43,11 @@ async function run() {
arr1000Compound.push(arrCompound[i]) arr1000Compound.push(arrCompound[i])
} }
for (let i=0;i<arrReserv.length;i++) for (let i=0;i<arr3.length;i++)
{ {
if (arrReserv[i].allocatedReserve < configs.alocatedReserve) if (arr3[i].allocatedReserve < configs.alocatedReserve)
arr20Max.push(arrReserv[i]) arr20Max.push(arr3[i])
} }
......
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