← Code LabJavaScript0/50 solved · 0%
Functions · medium

34. Higher-order functions

Functions that take functions.

Write `retry(fn, times)` (sync) that calls `fn` until it stops throwing, at most `times` attempts, rethrowing the last error.
Required in your answer: for (catch