JavaScript has()

0
8K

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
Социальные проблемы
Крестный отец. The Godfather. (1972)
Криминальная сага, повествующая о нью-йоркской сицилийской мафиозной семье Корлеоне. Фильм...
Por Nikolai Pokryshkin 2022-10-25 11:42:13 0 30K
News
What Leadership Qualities Does the CEO Possess?
A CEO's leadership qualities are among the most defining elements of their effectiveness. Great...
Por Dacey Rankins 2025-06-30 14:07:06 0 1K
Телевидение
Прямой эфир телеканала "Россия 24"
«Россия-24» — общероссийский федеральный государственный информационный...
Por Nikolai Pokryshkin 2022-09-29 21:28:37 0 20K
Laser Games
The Thrilling World of Laser Games: Where Strategy Meets Adventure
The Thrilling World of Laser Games: Where Strategy Meets Adventure In the realm of interactive...
Por Leonard Pokrovski 2024-06-30 14:06:10 0 17K
Life Issues
Gran Torino. (2008)
Disgruntled Korean War veteran Walt Kowalski sets out to reform his neighbor, Thao Lor, a Hmong...
Por Leonard Pokrovski 2023-03-14 19:34:16 0 20K

BigMoney.VIP Powered by Hosting Pokrov