I am working on coding in my Computer Science class and my function isn’t working correctly. I rewrote my code to make an example:
function getWords(userWord)