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.

Поиск
Категории
Больше
Life Issues
Memento. (2000)
A man with short-term memory loss attempts to track down his wife's murderer. My Link
От Leonard Pokrovski 2022-12-13 21:06:02 0 14Кб
Business
How to Effectively Measure Customer Satisfaction: A Guide to CSAT
Customer satisfaction is one of the key metrics of customer service, and it's an axiom. It allows...
От Dacey Rankins 2024-09-19 16:59:32 0 9Кб
Business
How to Create a Viral Newsbreak: Techniques and Examples
Viral newsbreaks help to achieve different KPIs: increase awareness, engagement, and audience...
От Dacey Rankins 2024-09-11 12:01:20 0 3Кб
Social Issues
Never Rarely Sometimes Always. (2020)
Inseparable best friends and cousins Autumn and Skylar precariously navigate the vulnerability of...
От Leonard Pokrovski 2022-10-25 18:53:56 0 17Кб
Социальные проблемы
Мисс Плохое поведение. Misbehaviour. (2020)
Англия, 1970-е, эпоха сексуальной революции и поисков новой свободы. Миллионы восторженных...
От Nikolai Pokryshkin 2022-10-21 17:16:50 0 18Кб
image/svg+xml


BigMoney.VIP Powered by Hosting Pokrov