test262/test/language/statements/for-in/identifier-let-allowed-as-lefthandside-expression-not-strict.js
Leo Balter edfef8db55 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
2017-10-12 15:27:15 -04:00

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 {}) { }