StandardJS Checks require space after function name

This commit is contained in:
Cristian Lupu
2020-10-30 18:28:29 +02:00
parent 84e4c9906b
commit 6bc638b34e

View File

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