Last active
September 2, 2017 22:46
-
-
Save LeandroLS/e7b978d8b9702acad358d77dca639f73 to your computer and use it in GitHub Desktop.
arrow function js
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
//1ª maneira | |
listaDeNomes.forEach((item) => { | |
console.log(item); | |
}) | |
//2ª maneira | |
listaDeNomes.forEach(item => console.log(item)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment