Practice / Software

Implement Promise.all

Medium · Coding (typed)

Implement promiseAll(items): it takes an array of promises or plain values and returns a promise that resolves to all results in the original order, or rejects as soon as any one rejects.

Create a free account to answer it and get scored on what a strong answer covers.