Skip to content

Instantly share code, notes, and snippets.

@mbrown3321
Created October 17, 2020 18:07
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save mbrown3321/d23f07f13c07ec2316eb04964c6a8f33 to your computer and use it in GitHub Desktop.
let results = users
.filter(u => u.active && u.loginCount > 50)
.map(u => u.id);
// [2,3]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment