« Bugzilla Issues Index

#1406 —,, Collection objects require "new"

See step 1-2 of
> 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