What goes in the blank?
// wait, then continue await new Promise((r) => ____(r, 500));
Answer: setTimeout
setTimeout resolves the promise after the delay.
Play Problem Solving ▸
// wait, then continue await new Promise((r) => ____(r, 500));
Answer: setTimeout