From ceb7aae8ef8addd49d900fe3c677d5ec6e1f909f Mon Sep 17 00:00:00 2001 From: Fabriece Sumuni Date: Thu, 23 Jan 2020 16:40:26 +0100 Subject: fix typo --- std/strings/README.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'std/strings') 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..." ``` -- cgit v1.2.3