diff options
author | Sidharth Vinod <sidharthv96@gmail.com> | 2020-06-09 04:22:23 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-08 18:52:23 -0400 |
commit | 5e01e14f08d807a3ae80f5788c5a4beea8d8fd2a (patch) | |
tree | eab95719fa0ec0125bab341a34a18e6b8c72f750 /docs/examples/unix_cat.md | |
parent | 50a70f4ece1283e2f2d83bbbb3790863a2fab7f2 (diff) |
Change from let to const (#6181)
Diffstat (limited to 'docs/examples/unix_cat.md')
-rw-r--r-- | docs/examples/unix_cat.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/examples/unix_cat.md b/docs/examples/unix_cat.md index ca85ea325..b45f2e680 100644 --- a/docs/examples/unix_cat.md +++ b/docs/examples/unix_cat.md @@ -5,8 +5,8 @@ is opened, and printed to stdout. ```ts for (let i = 0; i < Deno.args.length; i++) { - let filename = Deno.args[i]; - let file = await Deno.open(filename); + const filename = Deno.args[i]; + const file = await Deno.open(filename); await Deno.copy(file, Deno.stdout); file.close(); } |