Last active
July 7, 2020 15:44
-
-
Save agustinpfs/5bf5cc8addd950e1595cac7be2ef0ad8 to your computer and use it in GitHub Desktop.
Javascript básico. Variables no declaradas.
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
a = 5; | |
b = "hola"; | |
console.log(a); // 5 | |
console.log(b); // hola | |
console.log(a, b); // 5 hola | |
console.log(b, a); // hola 5 | |
console.log(a, a); // 5 5 | |
console.log(b, b); // hola hola | |
// cambiar los valores de las variables |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment