Closed Bug 1033132 Opened 10 years ago Closed 10 years ago

ES6 Proxies: Proxy(target, handler) without "new" should throw.

Categories

(Core :: JavaScript: Standard Library, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 945566

People

(Reporter: efaust, Unassigned)

References

Details

ES6 (May 22, 2014) 26.5.1.1 clearly states that calling the proxy global as a function and not a constructor should throw.
(In reply to André Bargull from comment #1)
> dup of bug 945566?

Suuuure does.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.