Commit ed1d557d authored by Ahmad Nemati's avatar Ahmad Nemati

git pu

parent 5483eca1
...@@ -42,7 +42,15 @@ async function run() { ...@@ -42,7 +42,15 @@ async function run() {
} }
adder = _.orderBy(adder, ['total'], ['asc']); adder = _.orderBy(adder, ['total'], ['asc']);
console.log(adder)
for (let i=0;i<adder.length;i++)
{
for (let z=i+1;z<adder.length;z++)
{
add((i+1),adder[z].dates)
}
}
console.log(adder)
......
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