Learn the Date Object by Building a Date Formatter - Step 20

Tell us what’s happening:

I am not sure why this challenge is not passing. I have done what it said to do but it keeps coming up with an error

Your code so far


const exampleSentence = "selur pmaCedoCeerf";

const reversedSentence = exampleSentence.split("").reverse().join("");
console.log(reversedSentence);

Your browser information:

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

Challenge Information:

Learn the Date Object by Building a Date Formatter - Step 20

it also says this
// running tests You should chain the reverse method to your “selur pmaCedoCeerf”.split(“”) method. // tests completed // console output freeCodeCamp rules

What did the step say to do?

You should chain the reverse method to your "selur pmaCedoCeerf".split("") method. this it what it said

Yes that is true. But in your code you have chained two methods in this step instead of the single one they asked for?

i am not sure now to fix it

What did you add to the code? Was it just the reverse?