Created
January 30, 2018 15:21
-
-
Save brownsmith/9e027e823c0c840d6681c8181d27afb9 to your computer and use it in GitHub Desktop.
Friend or Foe Code Kata solution
This file contains 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 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