Ask your AI Ask your AI to turn this code into a guided bug-finding exercise.
Claude ChatGPT I am reading "`slow` fulfills with `"slow"` after `fast` fulfills with `"fast"`. What does `await Promise.all([slow, fast])` produce?" on CodeWiki (https://codewiki.com/practice/mcq/javascript/checkpoint-3/checkpoint-3-all-order/).
Context (verbatim from the page):
"""
`slow` fulfills with `"slow"` after `fast` fulfills with `"fast"`. What does `await Promise.all([slow, fast])` produce?
`["slow", "fast"]`
`["fast", "slow"]`
Only `"fast"`
"""
Introduce three subtle bugs into the example above and let me find them. Reveal each answer only after I have guessed.
Answer in English. Keep code examples in JavaScript. Where you are unsure, say so.