Palindrome

Challenge 📝

Resources 📚

A variable pali is given. Return true if it is a palindrome. Otherwise false. A palindrome is a word that is read forward and backward, resulting in the same word.

Examples:

racecar

#JavaScript Strings

Medium

unsolved

function palindrome(pali) {
}
Test Cases
Console Logs
JS Errors
Run Code!
flag