We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c6caf28 commit 25e05ebCopy full SHA for 25e05eb
Strings/isPalindrome.js
@@ -0,0 +1,4 @@
1
+export default function isPalindrome(inputString) {
2
+ const reversedString = inputString.split("").reverse().join("");
3
+ return inputString === reversedString;
4
+}
0 commit comments