1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-01 09:24:20 -04: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!"