There was an error while loading. Please reload this page.
1 parent 04fbf92 commit 3131b9aCopy full SHA for 3131b9a
String/AlphaNumericPalindrome.js
@@ -49,7 +49,7 @@ const alphaNumericPlaindrome = (str) => {
49
}
50
51
// if the string is palindrome then palin variable is never changed
52
- if (palin == 0) return true
+ if (palin === 0) return true
53
else return false
54
55
0 commit comments