So i have a list of locations and this is being stored it the following:
var locations;
When i console.log this i get the following:
CA,CH,LA
How could i do this so i get a list of the locations and without the commas. I was thinking a foreach loop but this didnt work.
I the achieved outcome would look this this
CA
CH
LA
