Created
November 9, 2018 09:42
-
-
Save juniarta/3f7ca71f4c76837619711d263db1e5ae to your computer and use it in GitHub Desktop.
test deno
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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