Created
January 8, 2019 21:08
-
-
Save pmogollons/367441de5f834ad83b288398f50775a7 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
var mascota = "Perro"; | |
console.log(mascota); | |
function cambiarMascota() { | |
mascota = "Gato"; | |
console.log("Mi mascota es un: " + mascota); | |
}; | |
cambiarMascota(); | |
console.log(mascota); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment