title: How to convert Set to string with space?
body: <p>I want to convert JavaScript <code>Set</code> to <code>string</code> with space.</p>
  
  <p>For example, if I have a set like:</p>
  
  <pre><code>var foo = new Set();
  foo.add('hello');
  foo.add('world');
  foo.add('JavaScript');
  </code></pre>
  
  <p>And I'd like to print the string from the set: <code>hello world JavaScript</code> (space between each element).</p>
  
  <p>I tried below codes but they are not working:</p>
  
  <pre><code>foo.toString(); // Not working
  String(foo); // Not working
  </code></pre>
  
  <p>Is there <strong>simplest and easiest way</strong> to convert from <strong>Set</strong> to <strong>string</strong>?</p>