← Code LabNode.js0/50 solved · 0%
Patterns · medium

22. Exponential Backoff Calc

Calculate wait time for retries.

Formula: `base * (2 ** attempt)`. Cap it at `max`.
Required in your answer: Math.minMath.pow