문제 링크 : Split Strings by Separator
/**
* @param {string[]} words
* @param {character} separator
* @return {string[]}
*/
var splitWordsBySeparator = function(words, separator) {
return words.join(separator).split(separator).filter(el => el != '')
};