beginner here. I was doing this exercise from Coding Addict.
the exercise:
function longestWords(str){ let words = str.split(" "); le