mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 15:24:46 -05:00
5 lines
105 B
TypeScript
5 lines
105 B
TypeScript
|
const specifier = "npm:@denotest/add";
|
||
|
const { add } = await import(specifier);
|
||
|
|
||
|
console.log(add(1, 2));
|