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