Can I implode an array in jQuery like in PHP?
You can do this in plain JavaScript, use Array.prototype.join:
arrayName.join(delimiter);