String reverse

Write a function to return a reversed string for given string

example:

reverse('you are a nice dude');
// "edud ecin a era uoy"


Share Comments