Skip to content

Instantly share code, notes, and snippets.

@mateusmarquezini
Created January 10, 2019 15:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mateusmarquezini/42a2af4de77fa7ed2e2804a0cad3228b to your computer and use it in GitHub Desktop.
Save mateusmarquezini/42a2af4de77fa7ed2e2804a0cad3228b to your computer and use it in GitHub Desktop.
let mapa = new Map()
function ler(){}
const carro = {}
mapa.set("texto", "A chave é do tipo string")
mapa.set(2, "A chave é do tipo numérico")
mapa.set(ler, "A chave é uma função")
mapa.set(carro, "A chave é um objeto")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment