Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exercise 11 has unclear instructions #158

Open
gkatsanos opened this issue Jul 10, 2020 · 1 comment
Open

Exercise 11 has unclear instructions #158

gkatsanos opened this issue Jul 10, 2020 · 1 comment

Comments

@gkatsanos
Copy link

gkatsanos commented Jul 10, 2020

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 the all 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
Copy link

the two arguments are getPromise1() and getPromise2()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants