1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-24 15:19:26 -05:00
denoland-deno/cli/tests/testdata/compile/standalone_import_datauri.ts

4 lines
149 B
TypeScript

const c = await import(
"data:text/javascript;base64,ZXhwb3J0IGRlZmF1bHQgJ0hlbGxvIERlbm8hJw=="
);
console.log(c.default); // Output: "Hello Deno!"