You are viewing a single comment's thread. Return to all comments →
Here is my solution
const getProcessedText = () => { let outputWords = inputText // TODO: Add your changes here if(omitWords){ let tempSplittedWords = inputText.split(" ") outputWords = tempSplittedWords.filter((word) => !OMITTED_WORDS.includes(word)).join(" ") } return outputWords; };
Seems like cookies are disabled on this browser, please enable them to open this website
Word Omitter
You are viewing a single comment's thread. Return to all comments →
Here is my solution