Skip to content

Instantly share code, notes, and snippets.

@alexandermckay
Last active February 7, 2020 00:41
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 alexandermckay/8e33f266cf42fe7cd4bedd0697665b4e to your computer and use it in GitHub Desktop.
Save alexandermckay/8e33f266cf42fe7cd4bedd0697665b4e to your computer and use it in GitHub Desktop.
EiFP - For Each
const a = [1, 2, 4]
forEach(console.log, a)
// [1, 2, 4]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment