Suppose I have an array like this:
var bestArray = ["Veni", "vidi", "vici"];
Now, I use the method toString ()
in order to traduce the array to a string like this:
var bestString = bestArray.toString(); // "Veni, vidi, vici"
Here, my code works fine. But, now I want to traduce bestString
to an array. How can I achieve this?