diff options
Diffstat (limited to 'std/installer/testdata/echo.ts')
-rw-r--r-- | std/installer/testdata/echo.ts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/std/installer/testdata/echo.ts b/std/installer/testdata/echo.ts new file mode 100644 index 000000000..62ddd6d05 --- /dev/null +++ b/std/installer/testdata/echo.ts @@ -0,0 +1,6 @@ +function echo(args: string[]) { + const msg = args.join(", "); + Deno.stdout.write(new TextEncoder().encode(msg)); +} + +echo(Deno.args.slice(1)); |