title: Print an array(object?) without comma seperator
body: <p>I am currently writing a large amount of code, but I will keep it simple.  I have a javascript array (possibly an object, still unsure exactly of the conventional naming), here is the initialization code:</p>
  
  <pre><code>var myArray = ["assignS" , ";" , "S"]
  </code></pre>
  
  <p>This is what I get as a console.log() from firebug on the element.  There is too much code to post as it is assigned multiple values through many for loops.  So this array (or object) is printed later as follows:</p>
  
  <pre><code>document.write("S -&gt; " + myArray);
  </code></pre>
  
  <p>output:</p>
  
  <pre><code> S -&gt; assignS,;,S
  </code></pre>
  
  <p>I do not want these commas in the result, it poses problems as some elements in the array may be commas themselves.  I have ruled out the .join() method because of this, and am unsure how to proceed.</p>