JavaScript has()
نشر بتاريخ 2023-05-16 11:21:29
0
11كيلو بايت
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.
البحث
الأقسام
- Arts
- Business
- Computers
- الألعاب
- Health
- الرئيسية
- Kids and Teens
- مال
- News
- Recreation
- Reference
- Regional
- Science
- Shopping
- Society
- Sports
- Бизнес
- Деньги
- Дом
- Досуг
- Здоровье
- Игры
- Искусство
- Источники информации
- Компьютеры
- Наука
- Новости и СМИ
- Общество
- Покупки
- Спорт
- Страны и регионы
- World
إقرأ المزيد
The Evolution of Desktop Publishing: Revolutionizing Design and Print Media
Desktop publishing (DTP) has transformed the way we design and produce printed materials, making...
Diseases of civilization, why they are called so, what is their cause, the main directions of prevention
Diseases of civilization, why they are called so, what is their cause, the main directions of...
What Mistakes Should I Avoid When Trying to Close a Sale?
Closing a sale is one of the most critical steps in the sales process, yet it’s also one of...
How Do I Qualify for a Mortgage?
How Do I Qualify for a Mortgage?
Understanding Credit Score Requirements, Income, Employment...
John Wick: Chapter 4. (2023)
John Wick uncovers a path to defeating The High Table. But before he can earn his freedom, Wick...