Skip to content

Instantly share code, notes, and snippets.

@lbvf50mobile
Created August 1, 2020 20:35
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 lbvf50mobile/c7f5a6ad23d543e7f322963041717b74 to your computer and use it in GitHub Desktop.
Save lbvf50mobile/c7f5a6ad23d543e7f322963041717b74 to your computer and use it in GitHub Desktop.
Codewars.com: The reject() function.
// 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