Debian Codegraph @

js/src/tests/test262/language/statements/labeled/value-await-non-module.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 LabelIdentifier : await
10
11 It is a Syntax Error if the goal symbol of the syntactic grammar is Module.
12 ---*/
13
14 await: 1;
15
16 reportCompare(0, 0);