Skip to content

Instantly share code, notes, and snippets.

@jarodsim
Created November 28, 2020 22:37
Show Gist options
  • Save jarodsim/ba6b85fac44c59c9d775e7c410d3edc2 to your computer and use it in GitHub Desktop.
Save jarodsim/ba6b85fac44c59c9d775e7c410d3edc2 to your computer and use it in GitHub Desktop.
// criando uma várivel com valor do tipo primitivo
let idade1 = 10
let idade2 = idade1
idade1 = 15
console.log(idade2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment