Like I have var arr = [1,2,3,4,5], I want this to become arr["1","2","3","4","5"]. I tried using:
var x = arr[0].toString(); //outputs "1"
but when I do typeof x it outputs "number".
How can I convert this that when I do typeof it will output "string"?