Joins items in an array using separator, or returns the fallback if list is null or undefined.
separator
list
join('fallback')(',')([3, 6, 9])// => "3,6,9"join('fallback')(',')(undefined)// => "fallback" Copy
join('fallback')(',')([3, 6, 9])// => "3,6,9"join('fallback')(',')(undefined)// => "fallback"
Generated using TypeDoc
Joins items in an array using
separator
, or returns the fallback iflist
is null or undefined.