문제 링크 : Find Words Containing Character
/**
* @param {string[]} words
* @param {character} x
* @return {number[]}
*/
var findWordsContaining = function(words, x) {
let result = []
words.forEach( (word, i) => {
if(word.includes(x)) result.push(i)
})
return result
};