-
-
Save Ifmr24/859a7a1f684d8d255156adcbd1846be4 to your computer and use it in GitHub Desktop.
JS Variable Constante
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
// 4 - CONSTANTES - ES UNA VARIABLE, PERO SU VALOR NUNCA CAMBIARA | |
var web = "ingkf.com"; | |
const ip = "67.23.253.165"; | |
web = "dsfsdf.com"; //el valor cambiara | |
ip = "23123"; // el cambio de valor dara error, ya que ip fue declarada como constante, y estas no pueden cambiar |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment