JavaScript has()

0
4χλμ.

The has() function of the map object accepts a key in string format and returns a boolean value of true if the specified key exists. Otherwise, the function returns false.

Map is a data structure in JavaScript that allows the storage of [key, value] pairs where any value can be used as either a key or value.

Syntax

mapObject.has(key)

The has() function takes a key in the​ string format. It returns a boolean value that indicates ​the presence of that key in the Map object.

Αναζήτηση
Κατηγορίες
Διαβάζω περισσότερα
Mental Health
ADHD: Suicide Risk
Systematic reviews conducted in 2017 and 2020 found strong evidence that ADHD is associated with...
από Kelsey Rodriguez 2023-03-30 16:38:10 0 5χλμ.
Performing Arts
Preforming Arts
Performing arts is one of the types of artistic and creative activity in which the works of the...
από FWhoop Xelqua 2023-07-10 17:26:36 0 10χλμ.
Χάρτες
Armenia on the Babylonian Map
What do we know about the oldest maps of the world that have survived to this day. There are only...
από FWhoop Xelqua 2022-12-14 13:50:09 0 12χλμ.
Sport
14 Peaks: Nothing Is Impossible (2021)
Fearless Nepali mountaineer Nirmal Purja embarks on a seemingly impossible quest to summit all 14...
από Leonard Pokrovski 2023-07-29 20:33:08 0 522χλμ.
Mental Health
Schizophrenia Risk Factors and Genetic
Risk factorsSchizophrenia is described as a neurodevelopmental disorder with no precise boundary,...
από Kelsey Rodriguez 2023-01-30 17:40:02 0 5χλμ.
image/svg+xml


BigMoney.VIP Powered by Hosting Pokrov