How can I convert an array of numbers in javascript to string?
<p>Like I have <code>var arr = [1,2,3,4,5]</code>, I want this to become <code>arr["1","2","3","4","5"]</code>. I tried using:</p>

<pre><code>var x = arr[0].toString(); //outputs "1"
</code></pre>

<p>but when I do <code>typeof x</code> it outputs "number".</p>

<p>How can I convert this that when I do <code>typeof</code> it will output "string"?</p>
