Skip to content

Instantly share code, notes, and snippets.

@schan90
Created April 20, 2017 06:06
Show Gist options
  • Select an option

  • Save schan90/d36ee5cb307273377bc66aba612a0704 to your computer and use it in GitHub Desktop.

Select an option

Save schan90/d36ee5cb307273377bc66aba612a0704 to your computer and use it in GitHub Desktop.
Daily Toy 2nd-WED. getAllWords
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