September 2017 Update
This commit is contained in:
parent
bba7bfd280
commit
ba8067c3b7
14570 changed files with 153136 additions and 63871 deletions
|
|
@ -1,3 +0,0 @@
|
|||
isPalindrome = (str) ->
|
||||
stripped = str.toLowerCase().replace /\W/g, ""
|
||||
stripped == (stripped.split "").reverse().join ""
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
strings = [
|
||||
"In girum imus nocte et consumimur igni"
|
||||
"A man, a plan, a canal: Panama!"
|
||||
"There is no spoon."
|
||||
]
|
||||
|
||||
console.log "'#{str}' : #{isPalindrome str}" for str in strings
|
||||
Loading…
Add table
Add a link
Reference in a new issue