We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c6caf28 + 25e05eb commit ffe21c8Copy full SHA for ffe21c8
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