Build a String Inverter - Build a String Inverter

Tell us what’s happening:

je lance le projet mais il n y a que les deux premier qui fonctionne

Your code so far

function reverseString(bat){
  str.split('').reverse().join("");
}

Your browser information:

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

Challenge Information:

Build a String Inverter - Build a String Inverter

Welcome to the forum @whitejr !

You have defined your function with a parameter, bat, but where is bat used inside your function?

Happy coding!