Debian Codegraph @

js/src/tests/test262/language/statements/labeled/value-await-non-module-escaped.js

raw
1 // Copyright (C) 2017 André Bargull. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
3
4 /*---
5 esid: sec-identifiers-static-semantics-early-errors
6 description: >
7 `await` is not a reserved identifier in non-module code and may be used as a label.
8 info: |
9 Identifier : IdentifierName but not ReservedWord
10
11 It is a Syntax Error if the goal symbol of the syntactic grammar is Module and
12 the StringValue of IdentifierName is "await".
13 ---*/
14
15 aw\u0061it: 1;
16
17 reportCompare(0, 0);