Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.

Commit 29a8753

Browse files
Merge pull request #234 from fay-jai/missing-word
Minor typo - add missing word
2 parents 08696c5 + 3491331 commit 29a8753

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pages/Functions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ let employeeName = buildName("Joseph", "Samuel", "Lucas", "MacKinzie");
202202
```
203203

204204
*Rest parameters* are treated as a boundless number of optional parameters.
205-
When passing arguments for a rest parameter, can use as many as you want; you can even pass none.
205+
When passing arguments for a rest parameter, you can use as many as you want; you can even pass none.
206206
The compiler will build an array of the arguments passed in with the name given after the ellipsis (`...`), allowing you to use it in your function.
207207

208208
The ellipsis is also used in the type of the function with rest parameters:

0 commit comments

Comments
 (0)