Typo fix
This commit is contained in:
parent
e4ad8d0810
commit
aae880b32a
1 changed files with 1 additions and 1 deletions
|
@ -156,7 +156,7 @@ function showArgs() {
|
|||
*/!*
|
||||
}
|
||||
|
||||
showList("John", "Pete", "Alice"); // John - Pete - Alice
|
||||
showArgs("John", "Pete", "Alice"); // John - Pete - Alice
|
||||
```
|
||||
|
||||
Because `join` resides in `Array.prototype`, we can call it from there directly and rewrite it as:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue