Read more about test2
Read more about test2
test2

This promise will then be passed into the reduce method as promise. This is the key to chaining each promise together sequentially. The next promise to execute is func and when the then fires, the results are concatenated and that promise is then returned, executing the reduce cycle with the next promise function.
Want to read more?

You can publish here, too - it's easy and free.