Create a 'uniqueWords' function that accepts a string 'str' and returns an array of all the unique words in that string.

JavaScript
str = unique(str)
Source

Also in JavaScript: