Debian Codegraph @

tests/auto/qml/ecmascripttests/test262/test/language/statements/let/syntax/identifier-let-disallowed-as-boundname.js

raw
1 // Copyright (C) 2011 the V8 project authors. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
3 /*---
4 es6id: 13.6.4.1
5 description: >
6 It is a Syntax Error if the BoundNames of ForDeclaration contains "let".
7 negative:
8 phase: parse
9 type: SyntaxError
10 ---*/
11
12 throw "Test262: This statement should not be evaluated.";
13 for (let let in {}) { }
14