From 6bc638b34ec1860efb2601bab26563a45f6086e3 Mon Sep 17 00:00:00 2001 From: Cristian Lupu Date: Fri, 30 Oct 2020 18:28:29 +0200 Subject: [PATCH] StandardJS Checks require space after function name --- String/ReverseString.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/String/ReverseString.js b/String/ReverseString.js index 6ce861ce9..5ced8b35c 100644 --- a/String/ReverseString.js +++ b/String/ReverseString.js @@ -22,7 +22,7 @@ * > ReverseStringIterative(null) * ! TypeError */ -function ReverseStringIterative(string) { +function ReverseStringIterative (string) { if (typeof string !== 'string') { throw new TypeError('The given value is not a string') } @@ -58,7 +58,7 @@ function ReverseStringIterative(string) { * > ReverseStringIterativeInplace(null) * ! TypeError */ -function ReverseStringIterativeInplace(string) { +function ReverseStringIterativeInplace (string) { if (typeof string !== 'string') { throw new TypeError('The given value is not a string') }