Skip to content

Instantly share code, notes, and snippets.

@juniarta
Created November 9, 2018 09:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save juniarta/3f7ca71f4c76837619711d263db1e5ae to your computer and use it in GitHub Desktop.
Save juniarta/3f7ca71f4c76837619711d263db1e5ae to your computer and use it in GitHub Desktop.
test deno
import * as deno from "deno";
for (let i = 1; i < deno.args.length; i++) {
let filename = deno.args[i];
let file = await deno.open(filename);
await deno.copy(deno.stdout, file);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment