JavaScript Maps | JavaScript Tutorial

Publicado el: 23 September 2022
en el 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.


En esta página del sitio puede ver el video en línea JavaScript Maps | JavaScript Tutorial de Duración hora minuto segunda en buena calidad , que subió el usuario Techies Flock 23 September 2022, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 72 veces y le gustó 9 a los espectadores. Disfruta viendo!