Created
April 20, 2017 06:06
-
-
Save schan90/d36ee5cb307273377bc66aba612a0704 to your computer and use it in GitHub Desktop.
Daily Toy 2nd-WED. getAllWords
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function getAllWords(str) { | |
| // your code here | |
| return str.split(" "); | |
| } | |
| var output = getAllWords('Radagast the Brown'); | |
| console.log(output); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment