archives

« Bugzilla Issues Index

#1406 — 15.14.1.1, 15.15.1.1, 15.16.1.1: Collection objects require "new"


See step 1-2 of 15.14.1.1:
> 1. Let map be the this value.
> 2. If Type(map) is not Object then, throw a TypeError exception.

That means `var map = Map()` throws a TypeError instead of creating a new Map object.


needs TC39 resolution. Do we want Map/Set/Weakmap to act as factory functions?

As a general policy do we want to encourage that usage?


Resolve as INVALID or WONTFIX based on bug 1732?


see comment 2