reverseString("hello")
should return a string.
testString: assert(typeof reverseString("hello") === "string");
- text: reverseString("hello")
should become "olleh"
.
testString: assert(reverseString("hello") === "olleh");
- text: reverseString("Howdy")
should become "ydwoH"
.
testString: assert(reverseString("Howdy") === "ydwoH");
- text: reverseString("Greetings from Earth")
should return "htraE morf sgniteerG"
.
testString: assert(reverseString("Greetings from Earth") === "htraE morf sgniteerG");
```