diff options
Diffstat (limited to 'tests/testdata/echo.ts')
-rw-r--r-- | tests/testdata/echo.ts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/testdata/echo.ts b/tests/testdata/echo.ts new file mode 100644 index 000000000..84a645433 --- /dev/null +++ b/tests/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); |