diff --git a/bytes/README.md b/bytes/README.md index bfe400344064..ae0c988ec512 100644 --- a/bytes/README.md +++ b/bytes/README.md @@ -131,7 +131,7 @@ Copy bytes from one binary array to another. ```typescript import { copy } from "https://deno.land/std@$STD_VERSION/bytes/mod.ts"; -const dst = new Uint8Array(4); +const dest = new Uint8Array(4); const src = Uint8Array.of(1, 2, 3, 4); const len = copy(src, dest); // returns len = 4 ```