JavaScript program to reverse a string:

Created with Sketch.