set(key, val)
sets the value of a specific key in the map
Get(key)
Returns the value associated with a specified key in the map
has(key)
returns a Boolean indicating whether a map contains a key
delete(key)
removes the related key and value and returns Boolean indicating whether entry was deleted.
keys()
returns an array of keys
values()
returns an array of values
entries()
Returns a new iterator containing an array of key value pairs
size
returns the number of entries
clear()
Removes all the elements from the map