Check for Palindromes: Removed redundancy from description

This commit is contained in:
Steve Phillips
2015-02-10 22:19:05 -08:00
parent 44c5761f6a
commit 2308ce1eeb

View File

@ -58,11 +58,10 @@
"name": "Check for Palindromes",
"difficulty": "1.03",
"description": [
"Return 'true' if a given string is a palindrome.",
"Return true if the given string is a palindrome. Otherwise, return false."
"A palindrome is a word or sentence that's spelled the same way both forward and backward, ignoring punctuation, case, and spacing.",
"You'll need to remove punctuation and turn everything lower case in order to check for palindromes.",
"We'll pass strings with varying formats, such as \"racecar\", \"RaceCar\", and \"race CAR\" among others.",
"Return true if the string is a palindrome. Otherwise, return false."
],
"tests": [
"expect(palindrome(\"eye\")).to.be.a(\"boolean\");",