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') }