diff --git a/docs/examples/read_write_files.md b/docs/examples/read_write_files.md index a53c2bcbe23120..8c1eae1eec3ff0 100644 --- a/docs/examples/read_write_files.md +++ b/docs/examples/read_write_files.md @@ -77,7 +77,7 @@ write.then(() => console.log("File written to ./hello.txt")); */ ``` -By combining `Deno.writeTextFile` and `JSON.stringify` you can easially write +By combining `Deno.writeTextFile` and `JSON.stringify` you can easily write serialized JSON objects to a file. This example uses synchronous `Deno.writeTextFileSync`, but this can also be done asynchronously using `await Deno.writeTextFile`.