Home Manual Reference Source

Function

Static Public Summary
public

join(strings: Iterable<string>, sep: string): *

Join an iterable of strings using a given separator.

Static Private Summary
private

_join(strings: string[], sep: string): *

Join an array of strings using a given separator.

Static Public

public join(strings: Iterable<string>, sep: string): * source

Join an iterable of strings using a given separator.

Params:

NameTypeAttributeDescription
strings Iterable<string>

The input iterable of strings.

sep string

The given separator.

Return:

*

string

Static Private

private _join(strings: string[], sep: string): * source

Join an array of strings using a given separator.

Params:

NameTypeAttributeDescription
strings string[]

The input array of strings.

sep string

The given separator.

Return:

*

string