mirror of
https://github.com/nodejs/node.git
synced 2025-05-21 12:25:12 +00:00

[top-level-await] Implement the new post-order requirement for
async subgraphs
Refs: f19142e613
PR-URL: https://github.com/nodejs/node/pull/37864
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
13 lines
361 B
JavaScript
13 lines
361 B
JavaScript
// Copyright 2021 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.
|
|
|
|
// Flags: --harmony-top-level-await
|
|
|
|
import "modules-skip-async-subgraph-async.mjs"
|
|
|
|
if (globalThis.test_order === undefined) {
|
|
globalThis.test_order = [];
|
|
}
|
|
globalThis.test_order.push('1');
|