Skip to content

Instantly share code, notes, and snippets.

@ericelliott
Created June 26, 2020 22:18
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 ericelliott/9ef4400c65c86bedae175c9fecbfa01d to your computer and use it in GitHub Desktop.
Save ericelliott/9ef4400c65c86bedae175c9fecbfa01d to your computer and use it in GitHub Desktop.
double-list-declarative.js
const doubleList = list => list.map(x => x * 2);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment