turn a set into a string javascript code example Example: how to convert set to a string in js [...foo].join(' ')