Skip to content

Commit

Permalink
Try to clarify what "any number of arguments" means in the "function …
Browse files Browse the repository at this point in the history
…capture" page

Closes #53
  • Loading branch information
brettcannon authored and lpil committed Mar 14, 2024
1 parent 014c917 commit c60b93e
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -6,7 +6,7 @@
<p>
The anonymous function <code>fn(a) { some_function(..., a, ...) }</code> can
be written as <code>some_function(..., _, ...)</code>, with any number of
other arguments passed to the inner function. The underscore <code>_</code> is
a placeholder for the argument, equivalent to <code>a</code> in
<code>fn(a) { some_function(..., a, ...) }</code>.
other arguments passed directly to the inner function. The underscore
<code>_</code> is a placeholder for the argument, equivalent to
<code>a</code> in <code>fn(a) { some_function(..., a, ...) }</code>.
</p>

0 comments on commit c60b93e

Please sign in to comment.