These are chat archives for camperbot/bonfire-check-for-palindromes

30th
Oct 2015
Luis
@Kikoman12
Oct 30 2015 03:28
bonfire check for Palindromes
CamperBot
@camperbot
Oct 30 2015 03:28

:fire:Bonfire: Check for Palindromes :link:

function palindrome(str) {
  // Good luck!
  return true;
}



palindrome("eye");

Return true if the given string is a palindrome. Otherwise, return false.

more info:  bf details | bf links | hint

Luis
@Kikoman12
Oct 30 2015 03:28
hint
CamperBot
@camperbot
Oct 30 2015 03:28

hint [1/8]

## :construction: After this are possible spoiler hints.

Make sure you've tried to hard to solve it yourself before proceeding. :construction:

type hint for next hint :pencil: [Contribute at the FCC Wiki]

Yosafat Ariel
@yoskakomba
Oct 30 2015 07:31
hint
CamperBot
@camperbot
Oct 30 2015 07:31

hint [2/8]

Explanation:

You have to check if the string you get as an input is a palindrome and return true if it is, and false otherwise.

type hint for next hint :pencil: [Contribute at the FCC Wiki]

Yosafat Ariel
@yoskakomba
Oct 30 2015 07:31
hint
CamperBot
@camperbot
Oct 30 2015 07:31

hint [3/8]

Hint: 1

You may use regular expressions (RegExp) to remove unwanted characters from the string.

type hint for next hint :pencil: [Contribute at the FCC Wiki]