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

Tell us what’s happening:

I dunno what do do anymore. its wrong… I have tride

Your code so far

<!-- file: index.html -->

/* file: styles.css */

/* file: script.js */
// User Editable Region

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

// User Editable Region

Your browser information:

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

Challenge Information:

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

you need to chain your reverse() to your split, you dont need the join