title: Add different delimiters in javascript toString()..?
body: <p>normally JavaScript’s <code>toString()</code> method returns the array in a comma seperated value like this</p>
  
  <pre><code> var myArray = [ 'zero', 'one', 'two', 'three', 'four', 'five' ];
   var result = myArray .toString();
  </code></pre>
  
  <p>And it returns the output like this <strong><code>zero,one,two,three,four,five</code></strong>.</p>
  
  <p>But I have a requirement to represent the result in this format <strong><code>zero_one_two_three_four_five</code></strong> (replacing the comma with <code>_</code>).</p>
  
  <p>I know we can do this using replace method after converting the array to string. Is there a better alternative available?</p>
  
  <p>Cheers</p>
  
  <p>Ramesh Vel</p>