From 5e01e14f08d807a3ae80f5788c5a4beea8d8fd2a Mon Sep 17 00:00:00 2001 From: Sidharth Vinod Date: Tue, 9 Jun 2020 04:22:23 +0530 Subject: [PATCH] Change from let to const (#6181) --- docs/examples/unix_cat.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/examples/unix_cat.md b/docs/examples/unix_cat.md index ca85ea3259..b45f2e6809 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(); }