JavaScript Maps | JavaScript Tutorial

Publicado em: 23 September 2022
no canal de: Techies Flock
72
9

Map:- Map is a collection of keyed data items, just like an Object.
Methods and properties are:
new Map() – creates the map.
map.set(key, value) – stores the value by the key.
map.get(key) – returns the value by the key, undefined if key doesn’t exist in map.
map.has(key) – returns true if the key exists, false otherwise.
map.delete(key) – removes the value by the key.
map.clear() – removes everything from the map.
map.size – returns the current element count.


Nesta página do site você pode assistir ao vídeo on-line JavaScript Maps | JavaScript Tutorial duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Techies Flock 23 September 2022, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 72 vezes e gostou 9 espectadores. Boa visualização!