I am trying to learn how to chain promise with JS. I saw the code here and they did it with a forloop JavaScript ES6 promise for loop. I found it to be cool and decided to t