How to escape Promise Hell
Ronald Chen
9316
Finally, in the example where the code holds references to promises there is an argument named `promises`.
> .then((promises) => {
Correct me if I’m wrong, but I believe the `.then` callback is going to be called with an array of *values*, not with an array of promises.
I find the name `promises` a bit confusing when the array contains actual values instead. May I suggest that the array `promises` be renamed to something else? Like say, `results`?
> .then((results) => {