Newer
Older
minerva / Userland / Libraries / LibJS / Tests / builtins / ShadowRealm / async-module.mjs
@minerva minerva on 13 Jul 267 bytes Initial commit
await Promise.resolve(0);

export const foo = "Well hello async shadows";

await 1;

export default "Default export";

await Promise.resolve(2);

export const bar = "'bar' export";

async function baz() {
    return "'qux' export";
}

export const qux = await baz();