Methods
(static) join(array, separator) → {string}
- Source:
- Since:
- 0.1.0
- See:
Return an string by joining the provided array with the provided separator
Example
> join([0, 1, 2], '-')
'0-1-2'
Parameters:
Name | Type | Description |
---|---|---|
array |
array | |
separator |
string |
Returns:
- Type
- string