blob: 4fedc13aa4a1691ebe4c06028732f8000571e3f8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// |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.
export default 42;
await Promise.resolve().then(() => {
// This rejection will tick first unwrapping all the promises first
return Promise.reject(new RangeError());
});
var rejection = Promise.reject(new TypeError());
await rejection;
|