Javascript Basic 13 new Map()

Publicado el: 25 julio 2022
en el canal de: viRan Code
8
0

JavaScript Maps
A Map holds key-value pairs where the keys can be any datatype.
A Map remembers the original insertion order of the keys.

Method Description

new Map() Creates a new Map
set() Sets the value for a key in a Map
get() Gets the value for a key in a Map
delete() Removes a Map element specified by the key
has() Returns true if a key exists in a Map
entries() Returns an iterator with the [key, value] pairs in a Map

Property Description

size Returns the number of elements in a Map


En esta página del sitio puede ver el video en línea Javascript Basic 13 new Map() de Duración hora minuto segunda en buena calidad , que subió el usuario viRan Code 25 julio 2022, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 8 veces y le gustó 0 a los espectadores. Disfruta viendo!