mirror of
https://github.com/TheAlgorithms/JavaScript.git
synced 2025-07-05 16:26:47 +08:00
fixed the code style error
This commit is contained in:
@ -49,7 +49,7 @@ const alphaNumericPlaindrome = (str) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// if the string is palindrome then palin variable is never changed
|
// if the string is palindrome then palin variable is never changed
|
||||||
if (palin == 0) return true
|
if (palin === 0) return true
|
||||||
else return false
|
else return false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user