Created
September 8, 2019 11:47
-
-
Save zorfling/fbf14acee8b5b4efac6b1133503a2ef6 to your computer and use it in GitHub Desktop.
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
// in JavaScript arrow functions looks like this | |
// add numbers and return the result | |
const addSomeNumbers = (a, b) => a + b; | |
// echo out a message and return the input parameter | |
const doTheThing = theThing => { | |
console.log(`I'm doing ${theThing}`); | |
return theThing; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment