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