Skip to content

Commit

Permalink
palindrome: javascript version
Browse files Browse the repository at this point in the history
  • Loading branch information
igorantun authored Oct 3, 2018
1 parent d73c6b0 commit e2018d4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions palindrome/palindrome.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
const palindrome = (str) => str == str.split('').reverse().join('')

0 comments on commit e2018d4

Please sign in to comment.