Created
April 5, 2020 23:08
-
-
Save coliveravenegas/e6174570cd1b0c8f5b125ffba3c2bf66 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
// BAD | |
const newFruits = fruits.map( x => { | |
return doSomething(x); | |
}) | |
// GOOD | |
const newFruits = fruits.map( fruit => { | |
return doSomething(fruit); | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment