I'm using Array.prototype.map() and Array.prototype.filter() in order to validate there are actual values entered in the comma-separated list.
Both methods seem to be widely supported by different browsers