loading
index.js
1
2
3
4
5
6
7
for (let i = 0; i <= 20; i++) {
  exampleFn(i);
}

function exampleFn(index) {
  console.log(index);
}
node v10.16.0