mirror of https://github.com/tc39/test262.git
Updates for let names as a LHS in for-in loops (#1271)
* Delete identifier-let-allowed-as-lefthandside-expression-non-strict.js
Fixes #1192
This is already covered by 8422147c17/test/language/statements/for-in/head-lhs-let.js (L27)
* restore for-in test
This commit is contained in:
parent
1afb7c74fd
commit
edfef8db55
|
@ -1,11 +1,12 @@
|
|||
// Copyright (C) 2011 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
es6id: 13.6.0.1
|
||||
description: >
|
||||
for declaration:
|
||||
identifier "let" allowed as lefthandside expression
|
||||
esid: sec-iteration-statements
|
||||
info: |
|
||||
for ( [ lookahead ∉ { let [ } ] LeftHandSideExpression [?Yield, ?Await] in
|
||||
Expression[+In, ?Yield, ? Await]) Statement[?Yield, ?Await, ?Return]
|
||||
flags: [noStrict]
|
||||
---*/
|
||||
for (let in {}) { }
|
||||
|
||||
for (let in {}) { }
|
Loading…
Reference in New Issue