repeat(n, fn)
Run a function `n` times, passing in `i` on each iteration and returning an array of the results (like map).
| Name | Type | Required | Description |
|---|---|---|---|
n |
number | yes | Iteration count (floored). |
fn |
function | yes | Callback receiving index i. |
array
No additional runtime notes yet.
No additional details yet.