From 4a679902cf2b97c6723e2f54543222c7accba0a2 Mon Sep 17 00:00:00 2001 From: Rubin Bhandari Date: Mon, 5 Oct 2020 01:25:58 +0545 Subject: [PATCH] Update randomString.md --- snippets/randomString.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snippets/randomString.md b/snippets/randomString.md index c716e0048..af7ff3f95 100644 --- a/snippets/randomString.md +++ b/snippets/randomString.md @@ -14,5 +14,5 @@ const randomString = (length) => Math.random().toString(20).substr(2, length) ``` ```js -randomString(0afad); // '0afad' +randomString(5); // '0afad' ```