JavaScript has()
Posted 2023-05-16 11:21:29
0
6KB
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.
Search
Nach Verein filtern
- Arts
- Business
- Computers
- Spiele
- Health
- Home
- Kids and Teens
- Money
- News
- Recreation
- Reference
- Regional
- Science
- Shopping
- Society
- Sports
- Бизнес
- Деньги
- Дом
- Досуг
- Здоровье
- Игры
- Искусство
- Источники информации
- Компьютеры
- Наука
- Новости и СМИ
- Общество
- Покупки
- Спорт
- Страны и регионы
- World
Read More
AGRICULTURE AND FORESTRY – MAJOR CHALLENGES RELATED TO CLIMATE PROTECTION AND CHANGE
There is a strong relationship between climate protection, climate adaptation, food security and...
The Automotive Industry: Trends, Innovations, and the Road Ahead
The automotive industry has long been a pillar of the global economy, driving not only...
An Introduction to Roleplaying Games: The Art of Imagination and Adventure
Roleplaying games (RPGs) have captivated generations of players with their immersive worlds,...
Однажды в Америке. Once Upon a Time in America. (1984)
В бурные двадцатые годы, когда Америка веселилась под звуки джаза, и каждый бродяга мечтал стать...
E-book (device)
E-book (device)
Electric book (reader, coll. "e-reader"; An e-book...