MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/javascript/comments/5r9vay/frontend_developer_handbook_2017/dd5ytct/?context=3
r/javascript • u/nightman • Jan 31 '17
47 comments sorted by
View all comments
Show parent comments
8
Thanks, I'm drifting between being cool as a cucumber and freaking out. I appreciate the voice of reason
7 u/commitpushdrink Jan 31 '17 edited Jan 31 '17 function isPalindrome (maybePalindrome) { return maybePalindrome.split('').reverse().join('') === maybePalindrome; }Good luck!Edit: comments on spelling addressed, thanks for the review 7 u/EnchantedSalvia Jan 31 '17 I think you drankcommitpushed because you misspelt palindrome. 6 u/commitpushdrink Jan 31 '17 That's what code review is for, right?
7
function isPalindrome (maybePalindrome) { return maybePalindrome.split('').reverse().join('') === maybePalindrome; }
Good luck!
Edit: comments on spelling addressed, thanks for the review
7 u/EnchantedSalvia Jan 31 '17 I think you drankcommitpushed because you misspelt palindrome. 6 u/commitpushdrink Jan 31 '17 That's what code review is for, right?
I think you drankcommitpushed because you misspelt palindrome.
drankcommitpushed
6 u/commitpushdrink Jan 31 '17 That's what code review is for, right?
6
That's what code review is for, right?
8
u/Sideburnt Jan 31 '17
Thanks, I'm drifting between being cool as a cucumber and freaking out. I appreciate the voice of reason