Help i'am stuck

function palindrome(str) {
    let filtred = str.toLowerCase().split('').filter(a=>a.charCodeAt(0)>96&&a.charCodeAt(0)<123).join('');
    return filtred.split('').reverse().join('') == filtred;

palindrome("1 eye for of 1 eye.")

should return false. !!!

I’ve edited your post for readability. When you enter a code block into the forum, precede it with a line of three backticks and follow it with a line of three backticks to make easier to read. See this post to find the backtick on your keyboard. The “preformatted text” tool in the editor (</>) will also add backticks around text.