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