Type Parameters

  • K
  • V

Implements

Constructors

  • Type Parameters

    • K
    • V

    Parameters

    Returns MapView<K, V>

Properties

#private: any

Accessors

  • get size(): number
  • Returns number

    the number of elements in the Map.

Methods

  • Returns IterableIterator<[K, V]>

  • Returns IterableIterator<[K, V]>

  • Returns a specified element from the Map object. If the value that is associated to the provided key is an object, then you will get a reference to that object and any change made to that object will effectively modify it inside the Map.

    Parameters

    • key: K

    Returns undefined | V

    Returns the element associated with the specified key. If no element is associated with the specified key, undefined is returned.

  • Parameters

    • key: K

    Returns V

  • Parameters

    • key: K

    Returns boolean

    boolean indicating whether an element with the specified key exists or not.

  • Returns IterableIterator<K>

  • Returns Map<K, V>

  • Returns IterableIterator<V>