JavaScript has()
Veröffentlicht 2023-05-16 11:21:29
0
9KB
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.
Suche
Kategorien
- Arts
- Business
- Computers
- Spiele
- Health
- Startseite
- Kids and Teens
- Geld
- News
- Recreation
- Reference
- Regional
- Science
- Shopping
- Society
- Sports
- Бизнес
- Деньги
- Дом
- Досуг
- Здоровье
- Игры
- Искусство
- Источники информации
- Компьютеры
- Наука
- Новости и СМИ
- Общество
- Покупки
- Спорт
- Страны и регионы
- World
Mehr lesen
Citizenfour (2014)
A documentarian and a reporter travel to Hong Kong for the first of many meetings with Edward...
Coaching is an effective process of personnel development
Coaching is an effective process of personnel development
What is Coaching? This is...
Top 5 Horror Movies You Need to Watch
Horror movies have a unique ability to evoke fear, suspense, and thrill. From psychological...
Crisis. (2021)
Set against the backdrop of the opioid epidemic, stories of an undercover cop, a professor, and a...
How Do CEOs Foster Company Culture and Innovation?
A CEO’s influence over company culture and innovation is profound. While managers oversee...