blob: eeafdef3cdc92e68f4ea94ea094a13d6f646795e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// |reftest| skip -- not a test file
// Copyright (C) 2019 Leo Balter. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
await 1;
await 2;
export default await Promise.resolve(42);
export const y = await 39;
export const x = await 'named';
// Bonus: this rejection is not unwrapped
if (false) {
await Promise.reject(42);
}
|