Skip to content

Instantly share code, notes, and snippets.

@brownsmith
Created January 30, 2018 15:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brownsmith/9e027e823c0c840d6681c8181d27afb9 to your computer and use it in GitHub Desktop.
Save brownsmith/9e027e823c0c840d6681c8181d27afb9 to your computer and use it in GitHub Desktop.
Friend or Foe Code Kata solution
function friend(friends){
return friends.filter(n => n.length === 4)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment