i have this nested array arr:
[[ "one", "two" , "three"]] I want to extract the values and join them in a var called numbers and separate them by ";"
I used this method :
var itemsArray = arr.join(";");
what i a getting is this :
one,two,three
Although what i am aiming for is one;two;three
It's reading the separator.
arr[0].join(';');. The array is nested array.