Palindrome Check

Fasil · javascript · javascript · strings

Write solution(str) that returns true if the string reads the same forwards and backwards, false otherwise (case-sensitive, no other normalization).

Tès egzanp

solution("racecar") // => true

Soumèt

Klasman →