I am having a JavaScript array and I want to convert this array into string with a separator, in a way PHP implode does.
e.g.
var daysArr = [];
daysArr.push('monday');
daysArr.push('tuesday');
I want to get "monday*tuesday"
How can we achieve this?
Thx.