Skip to content

Instantly share code, notes, and snippets.

@samueleresca
Created June 11, 2017 14:19
Show Gist options
  • Save samueleresca/e4b8fe32db4438856fc95abf5db327d7 to your computer and use it in GitHub Desktop.
Save samueleresca/e4b8fe32db4438856fc95abf5db327d7 to your computer and use it in GitHub Desktop.
[1,2,3].map(value=>value*10)
.forEach(value=>
console.log(value)
);
//10
//20
//30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment