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