2020-03-05 10:49:19 -08:00
|
|
|
// Copyright 2019 the V8 project authors. All rights reserved.
|
|
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
|
|
// found in the LICENSE file.
|
|
|
|
|
|
|
|
Promise.resolve = function() { return {}; };
|
2020-10-15 20:17:08 +02:00
|
|
|
Promise.race([function() {}]).then(
|
|
|
|
() => assertUnreachable(), () => { /* ignore */})
|