Created
May 5, 2017 16:08
-
-
Save coltpini/98ef43de099f5d4cc1a7b43efea6dde3 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
// Explicit return | |
let someFunction = prop => { | |
return someValue; | |
}; | |
// Implicit return | |
let someFunction = prop => someValue; | |
// multiline implicit return | |
let someFunction = prop => ( | |
someValue | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment