-
-
Save Ifmr24/0bbafd62e8cf12a948686fd66fcd6080 to your computer and use it in GitHub Desktop.
JS Variable VAR / CambiarValor
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 - VARIABLES. | |
var pais = 'Chile'; // String | |
var continente = 'Latino America'; // String | |
var antiguedad = 2018; // Entero | |
var pais_y_continente = pais + ' ' + continente // Cadena | |
// 2 - CAMBIAR VALOR A VARIABLE A NIVEL GLOBAL // EL VALOR DE pais_y_continente NO SE CAMBIARA. | |
pais = 'Mexico'; | |
continente = 'Latino America'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment