test262/test/language/statements/for-in/identifier-let-allowed-as-l...

13 lines
451 B
JavaScript
Raw Normal View History

2015-03-30 18:48:02 +02:00
// Copyright (C) 2011 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
description: >
2015-03-19 20:05:41 +01:00
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]
2015-03-19 20:05:41 +01:00
flags: [noStrict]
---*/
2019-11-11 05:11:18 +01:00
for (let in {}) { }