Palindrome Checker is not working properly

Tell us what’s happening:
Its still not executing .output console showing running test but did not show anything.

Your code so far


function palindrome(str) {
  str = str.replace(/[\W_]/g, "");
    
  var reverseStr =str.toLowerCase().split("").reverse().join("");
  
  if(str.toLowerCase() === reverseStr) {
      return true;
  } else {
      return false;
  }

}

palindrome("race car");

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/17.17134.

Link to the challenge:
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/javascript-algorithms-and-data-structures-projects/palindrome-checker/

I copy-pasted your solution and it worked. Try to reset your code and paste it in again^^

on the output console it shows running code ,not executing it.
please help me out.

'please checkout the screenshot posted and let me know the problem, it will be great help

Mh, honestly I have no idea :confused:
The only things I can think about are the code reset and the hard refresh ( here’s a google tip: Tech tip: hard refresh) of the browser ( you could try to submit the solution using another browser if you have it installed) .
Here’s my screenshot: