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.
should be :
Whats an "internal promise" ? I guess you mean :
within the
all function, create a new promise. (and return it)