Created
November 29, 2017 16:25
-
-
Save MichaelWashburnJr/40b437ce093e292ea51363bf2c5e2ba9 to your computer and use it in GitHub Desktop.
Embrace arrow functions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//old function | |
function test() { | |
return 1 + 2; | |
} | |
const test = () => { | |
return 1 + 2; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment