Saturday, 28 March, 2020 UTC


Summary

In this lesson you will learn how to answer a typical beginner interview question of writing a function that check for a string to be a palindrome(reads the same backward as forward). We will employ string methods like split() and toLowerCase() as well as array methods like reverse() and join(). After writing a step by step function to perform the check we refactor it to be shorter but still readable and working.