Skip to content

Instantly share code, notes, and snippets.

@ChrisWhealy
Created April 28, 2016 15:49
Show Gist options
  • Save ChrisWhealy/88bae74ccf96a8b64b179f85b2119ab8 to your computer and use it in GitHub Desktop.
Save ChrisWhealy/88bae74ccf96a8b64b179f85b2119ab8 to your computer and use it in GitHub Desktop.
Mindshift: Part 3, sample 6
var nice_kids = kids.reduce((acc,k) => acc + !k.isNaughty,0);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment