archives

« Bugzilla Issues Index

#4227 — 23.1.2.2, 23.2.2.2: @@species for Map and Set required ?


23.1.2.2 get Map [ @@species ]
23.2.2.2 get Set [ @@species ]

Note:
> Map prototype methods normally use their this object’s constructor to create a derived object.
> However, a subclass constructor may over-ride that default behaviour by redefining its @@species property.


But there are not Map prototype methods which create derived objects.


fixed in rev37 editor's draft

changed the notes

Even though there currently aren't any methods that create derived colletions of these types, there could be some added in the future. Also, subclass might define such methods.


In Rev37