Which code should I use on js to map an array with spliting cells yet not reapeating [\"12,3\",\"3\",\"5\",\"66,22\"] into [\"12\",\"3\",\"5\",\"66\",\"22\"]<
[\"12,3\",\"3\",\"5\",\"66,22\"]
[\"12\",\"3\",\"5\",\"66\",\"22\"]<
You could join and split the string.
console.log(["12,3", "3", "5", "66,22"].join().split(','));