Merge pull request #583 from amanbangad/patch-2

Typo fix
This commit is contained in:
Ilya Kantor 2017-06-03 09:21:00 +03:00 committed by GitHub
commit 41d791b3d1

View file

@ -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: