From e2018d42340a6a7deb1d757549e69d0b0f0fb480 Mon Sep 17 00:00:00 2001 From: Igor Antun Date: Wed, 3 Oct 2018 17:34:14 -0300 Subject: [PATCH] palindrome: javascript version --- palindrome/palindrome.js | 1 + 1 file changed, 1 insertion(+) create mode 100644 palindrome/palindrome.js diff --git a/palindrome/palindrome.js b/palindrome/palindrome.js new file mode 100644 index 00000000..9baa733f --- /dev/null +++ b/palindrome/palindrome.js @@ -0,0 +1 @@ +const palindrome = (str) => str == str.split('').reverse().join('')