Skip to content

Instantly share code, notes, and snippets.

@Ifmr24
Last active September 17, 2018 21:50
Show Gist options
  • Save Ifmr24/859a7a1f684d8d255156adcbd1846be4 to your computer and use it in GitHub Desktop.
Save Ifmr24/859a7a1f684d8d255156adcbd1846be4 to your computer and use it in GitHub Desktop.
JS Variable Constante
// 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