Created
April 29, 2017 02:04
-
-
Save hrajchert/d8cd39d02cc0ea5f2f14e45be25a8bec 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
// Refactoring | |
function miFnLoca(personas) { | |
personas.forEach(function (p) { | |
console.log('nombre: ', p); | |
}); | |
} | |
miFnLoca(['Jose', 'Pedro']); | |
miFnLoca('Mariano'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment