JavaScript has()

0
11KB

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.

Pesquisar
Categorias
Leia mais
Programming
Azure Pros & Cons
1. PRO - High Availability Unlike other vendors, the Microsoft Azure cloud offers high...
Por Jesse Thomas 2023-06-27 10:36:21 0 15KB
Социальные проблемы
Рождество кота Боба. A Christmas Gift from Bob. (2020)
До встречи с котом Бобом Джеймс не любил Рождество, но рыжий пушистый хулиган всё изменил. Он в...
Por Nikolai Pokryshkin 2022-10-05 17:02:02 0 26KB
Social Issues
Django Unchained. (2012)
With the help of a German bounty-hunter, a freed slave sets out to rescue his wife from a brutal...
Por Leonard Pokrovski 2022-12-14 10:00:40 0 24KB
Business
How Do I Handle Objections During the Closing Phase?
Handling objections effectively is one of the most critical skills in sales. Objections are not a...
Por Dacey Rankins 2025-11-19 20:12:13 0 3KB
Pessoas
"Traitor to the motherland and draft dodger": how the boxing legend from the United States did not want to participate in the mobilization
A high-profile story about Muhammad Ali. In the middle of the last century, the US military...
Por FWhoop Xelqua 2022-11-16 17:50:51 0 45KB

BigMoney.VIP Powered by Hosting Pokrov