Created
August 1, 2020 20:35
-
-
Save lbvf50mobile/c7f5a6ad23d543e7f322963041717b74 to your computer and use it in GitHub Desktop.
Codewars.com: The reject() function.
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
// https://www.codewars.com/kata/52988f3f7edba9839c00037d The reject() function. | |
let reject = (a,x) => a.filter( z => ! x(z)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment