archives

« Bugzilla Issues Index

#4416 — Reflect.construct should compare with undefined


http://www.ecma-international.org/ecma-262/6.0/#sec-reflect.construct

2. If newTarget is not present, let newTarget be target.

This should compare with undefined instead. This observable by doing:

Reflect.construct(func, [], undefined)