Skip to content

Instantly share code, notes, and snippets.

@rmacy
Created May 5, 2018 19:51
Show Gist options
  • Save rmacy/070f9f5f047b998b9dc17f85421c5d0f to your computer and use it in GitHub Desktop.
Save rmacy/070f9f5f047b998b9dc17f85421c5d0f to your computer and use it in GitHub Desktop.
About function chaining in javascript
[1, 2, 3, 4].map(val => val + 1).filter((a, b) => a > b);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment