Skip to content

Commit 4e5aef8

Browse files
authored
Naming improvement
`str` is used in the example too.
1 parent b688652 commit 4e5aef8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

1-js/05-data-types/05-array-methods/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,7 @@ alert( str.split('') ); // t,e,s,t
477477
```
478478
````
479479

480-
The call [arr.join(str)](mdn:js/Array/join) does the reverse to `split`. It creates a string of `arr` items glued by `str` between them.
480+
The call [arr.join(separator)](mdn:js/Array/join) does the reverse to `split`. It creates a string of `arr` items glued by `separator` between them.
481481

482482
For instance:
483483

0 commit comments

Comments
 (0)