mirror of
https://github.com/tc39/test262.git
synced 2025-07-31 01:44:54 +02:00
* 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
12 lines
450 B
JavaScript
12 lines
450 B
JavaScript
// Copyright (C) 2011 the V8 project authors. All rights reserved.
|
|
// This code is governed by the BSD license found in the LICENSE file.
|
|
/*---
|
|
description: >
|
|
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 {}) { } |