September 2017 Update

This commit is contained in:
Ingy döt Net 2017-09-23 10:01:46 +02:00
parent bba7bfd280
commit ba8067c3b7
14570 changed files with 153136 additions and 63871 deletions

View file

@ -1,3 +0,0 @@
isPalindrome = (str) ->
stripped = str.toLowerCase().replace /\W/g, ""
stripped == (stripped.split "").reverse().join ""

View file

@ -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