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(); }