stevekane / promise-it-wont-hurt

A Workshopper module that teaches you to use promises in javascript
737 stars 219 forks source link

Exercise 11 has unclear instructions #158

Open gkatsanos opened 4 years ago

gkatsanos commented 4 years ago

Create a function all that accepts two promises as arguments.

should be :

Create a function all that accepts two promises as arguments. These two promises exist for you globally and return random string values.

Create an internal promise in whatever way you see fit.

Whats an "internal promise" ? I guess you mean : within theall function, create a new promise. (and return it)

When the counter reaches 2, fulfil the internal promise with an array containing both values. Which two values? We only know about the counter value so far.

bytedance19 commented 2 years ago

the two arguments are getPromise1() and getPromise2()