I tested my code with some console.logs and conditionals and my code appear to be working.
Can someone take a peek at the repl and tells me if I'm doing something wrong or the test is faulty.
If the test is faulty where can I submit this bug so it can be fixed?
While your solution is correct for most cases, it won't satisfy all cases. For example, let's say I log this:
console.log("smallest word: ", findShortestOfThreeWords('asdfg', 'yes', 'yes'));
The output to the above is
undefined since the length of words 2 and 3 match, and there is no programming to satisfy this condition.
You could add a few more
if conditionals in there, and that would probably satisfy this challenge. But, also, think about different, more dynamic ways of doing this.
Good luck and happy coding!