How to escape Promise Hell
Ronald Chen
59720

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) => {

Like what you read? Give Tiffany Twisted a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.