From 4281d0b8b55b22cff4e49426c1c5917e9bc8570e Mon Sep 17 00:00:00 2001 From: David Wu Date: Sat, 23 Dec 2017 16:02:20 +0100 Subject: [PATCH] Update repeatString.md --- snippets/repeatString.md | 1 - 1 file changed, 1 deletion(-) diff --git a/snippets/repeatString.md b/snippets/repeatString.md index 619fe767b..888965713 100644 --- a/snippets/repeatString.md +++ b/snippets/repeatString.md @@ -9,6 +9,5 @@ const repeatString = (str="",num=2) => { return num >= 0 ? str.repeat(num) : str; } // repeatString("abc",3) -> 'abcabcabc' -// repeatString("abc",0) -> '' // repeatString("abc") -> 'abcabc' ```