This commit is contained in:
Aman Bangad 2017-06-02 09:50:33 -04:00 committed by GitHub
parent e4ad8d0810
commit aae880b32a

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: