Naming improvement
`str` is used in the example too.
This commit is contained in:
parent
b688652d34
commit
4e5aef8b1b
1 changed files with 1 additions and 1 deletions
|
@ -477,7 +477,7 @@ alert( str.split('') ); // t,e,s,t
|
|||
```
|
||||
````
|
||||
|
||||
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.
|
||||
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.
|
||||
|
||||
For instance:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue