mirror of
https://github.com/nodejs/node.git
synced 2026-11-21 12:59:16 -05:00
- when the defer imported module contains top-level await - when the defer imported module is also eagerly imported Refs: https://github.com/tc39/proposal-defer-import-eval Signed-off-by: Maya Lekova <maya@igalia.com> PR-URL: https://github.com/nodejs/node/pull/64197 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
7 lines
122 B
JavaScript
7 lines
122 B
JavaScript
if (!globalThis.eval_list) {
|
|
globalThis.eval_list = [];
|
|
}
|
|
|
|
export const foo = 42;
|
|
globalThis.eval_list.push('defer-1');
|