advanced
Challenge: write promiseAll from scratch
Implement this from the stub. Hidden tests grade the behaviour you write, not the comments you leave.
Challenge: Write promiseAll From Scratch
export function promiseAll<T>(values: Array<T | Promise<T>>): Promise<T[]> {
// Your implementation here
}challenge — implement from scratchCtrl+↵ submits · Ctrl+Shift+↵ runsstarter code