
Network requests can fail. Good code retries with exponential backoff: waiting longer between each attempt. This is production-grade resilience!
retryWithBackoff(fn, retries, delay)fn is an async function that might failretries timesdelay ms, then delay * 2, then delay * 4...Submit your code to see test results