Skip to content

Instantly share code, notes, and snippets.

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