in

If it works, it works

If it works, it works | IT-memes | ProgrammerHumor.io
IT-memes | ProgrammerHumor.io

Content

v reverseString hello" should return a string. reverseString("hello") should become "olleh" reverseString("Howdy") should become "ydwoH" . reverseString ("Greetings from Earth") should return "htraE morf saniteerG" function reverseStrinastr) if (str ‘hello’ s return ‘olleh’; If (str ‘Howdy’) 4 return ‘ydwoH’; (str ‘Greetings from Earth’) return ‘htraE morf sgniteerG’; 10 12 I 14 reverseString("hello"); 15