Skip to content

Instantly share code, notes, and snippets.

@ryanburnette
Last active March 25, 2019 15:12
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 ryanburnette/b5b3ef5efefff99438bf9e3a3538a0c5 to your computer and use it in GitHub Desktop.
Save ryanburnette/b5b3ef5efefff99438bf9e3a3538a0c5 to your computer and use it in GitHub Desktop.
javascript arrow functions
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/Arrow_functions
https://medium.com/tfogo/advantages-and-pitfalls-of-arrow-functions-a16f0835799e
My personal rule... only use arrow functions when you need the benefit of what they do. A
lot of folks default to them and I think this is a bad practice.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment