Fix incorrect grammer
This commit is contained in:
parent
ad8ab1d55f
commit
a22ab40e03
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ showName("Julius", "Caesar", "Consul", "Imperator");
|
|||
```
|
||||
|
||||
````warn header="The rest parameters must be at the end"
|
||||
The rest parameters gather all remaining arguments, so the following has no sense:
|
||||
The rest parameters gather all remaining arguments, so the following does not make sense and causes an error:
|
||||
|
||||
```js
|
||||
function f(arg1, ...rest, arg2) { // arg2 after ...rest ?!
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue