summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabriece Sumuni <sfabriece@users.noreply.github.com>2020-01-23 16:40:26 +0100
committerRyan Dahl <ry@tinyclouds.org>2020-01-23 10:40:26 -0500
commitceb7aae8ef8addd49d900fe3c677d5ec6e1f909f (patch)
tree0c4216f2360a866d3e73b205b16eb622bb402318
parent63293a90e1503aa9c18ce5f89ebc6d5c066f09bf (diff)
fix typo
-rw-r--r--std/strings/README.md18
1 files changed, 9 insertions, 9 deletions
diff --git a/std/strings/README.md b/std/strings/README.md
index 2aad4357b..7621248bb 100644
--- a/std/strings/README.md
+++ b/std/strings/README.md
@@ -14,13 +14,13 @@ Basic usage:
```ts
import { pad } from "https://deno.land/std/strings/pad.ts";
-pad("deno", 6, { char: "*", side: "left" }) // output : "**deno"
-pad("deno", 6, { char: "*", side: "right"}) // output : "deno**"
-pad("denosorusrex", 6 {
- char: "*",
- side: "left",
- strict: true,
- strictSide: "right",
- strictChar: "..."
-}) // output : "den..."
+pad("deno", 6, { char: "*", side: "left" }); // output : "**deno"
+pad("deno", 6, { char: "*", side: "right" }); // output : "deno**"
+pad("denosorusrex", 6, {
+ char: "*",
+ side: "left",
+ strict: true,
+ strictSide: "right",
+ strictChar: "..."
+}); // output : "den..."
```