Add missing new.target feature flags (#1929)

This commit is contained in:
Adrian Heine né Lang 2018-11-07 16:13:49 +01:00 committed by Leo Balter
parent 41110ab0d4
commit 25da344185
2 changed files with 2 additions and 1 deletions

View File

@ -16,7 +16,7 @@ info: |
LeftHandSideExpression[?Yield, ?Await] = AssignmentExpression[?In, ?Yield, ?Await]
LeftHandSideExpression[?Yield, ?Await] AssignmentOperator AssignmentExpression[?In, ?Yield, ?Await]
flags: [async]
features: [dynamic-import]
features: [dynamic-import, new.target]
---*/
function ctor() {

View File

@ -4,6 +4,7 @@
esid: sec-meta-properties-runtime-semantics-evaluation
es6id: 12.3.8.1
description: NewTarget is composed of three distinct tokens
features: [new.target]
---*/
var newTarget = null;