I currently have an array that is returning values in the following format:
0: 1,2,3,4
However, I would like it to return array values in a different way:
0: 1
1: 2
2: 3
3: 4
If I am using JavaScript, what is the best approach to accomplish this?