JavaScript has()

0
10كيلو بايت

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.

البحث
الأقسام
إقرأ المزيد
История
Третий человек. The Third Man. (1949)
Холли Мартинс, автор бульварных романов, в надежде получить работу приезжает в послевоенную Вену...
بواسطة Nikolai Pokryshkin 2023-03-31 12:33:58 0 27كيلو بايت
Contests
Contemporary
  The 5th season of the art competition from the gallery in London. Applications are...
بواسطة FWhoop Xelqua 2023-03-11 19:45:33 0 22كيلو بايت
Television
The Mercedes Wilson Show. Live TV. USA.
Mercedes E. Wilson is a transformational speaker, author, television personality, event emcee,...
بواسطة Nikolai Pokryshkin 2022-10-07 17:37:07 0 28كيلو بايت
الألعاب
Games labeled "PS5 Pro Enhanced" will offer a stable 60 FPS, increased resolution, or improved ray tracing
Games labeled "PS5 Pro Enhanced" will offer a stable 60 FPS, increased resolution, or improved...
بواسطة Leonard Pokrovski 2024-04-01 20:57:51 0 22كيلو بايت
Artificial Intelligence
What is AI?
It's clear about artificial intelligence (AI) Simply put, artificial intelligence (AI) is a...
بواسطة FWhoop Xelqua 2022-12-13 14:28:20 0 19كيلو بايت

BigMoney.VIP Powered by Hosting Pokrov