Skip to main content
Version: 4.0.0

get Map[Symbol.species]

The Map[Symbol.species] accessor property is an unused accessor property specifying how to copy Map objects.

Syntax​

Map[Symbol.species]

Return value​

The value of the constructor (this) on which get Symbol.species was called. The return value is used to construct copied Map instances.

Description​

The Symbol.species accessor property returns the default constructor for Map objects. Subclass constructors may override it to change the constructor assignment.

Note: This property is currently unused by all Map methods.