Debian Codegraph @

js/src/tests/test262/language/module-code/top-level-await/new-await-script-code.js

raw
1 // Copyright (C) 2020 Rick Waldron. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
3
4 /*---
5 esid: prod-AwaitExpression
6 description: >
7 await is not a keyword in script code
8 features: [top-level-await]
9 ---*/
10
11 class await {}
12
13 assert.sameValue(new await instanceof await, true);
14
15 reportCompare(0, 0);