Created
November 1, 2020 22:01
-
-
Save gabizinha12/1b347a5130dbdee0584e719bad0233fe 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
const nome = "Gabizinha"; | |
nome = "Pereira" | |
// const não se pode alterar | |
let nome = "Victor" // global, local, bloco | |
// somente dentro do bloco | |
var sobrenome = "Lima" // vazamento de escopo // global, local | |
// pode ser usada fora do bloco |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment