Skip to main content
✏️ Code CompletionJS JavaScript Hard+35 XP

Promise.all Pattern

Complete the code to fetch multiple URLs concurrently.

✏️ Fill in the blank
const results = await Promise.___([
  fetch("/api/users"),
  fetch("/api/posts"),
  fetch("/api/comments")
]);

✏️ Type the missing code: