Photo by Ferenc Almasi on Unsplash
Given a string, return a new string with the reversed order of characters
--- Examples
reverse('apple') === 'leppa'
reverse('hello') === 'olleh'
reverse('Greetings!') === '!sgniteerG'
Photo by imgix on Unsplash

Winston Chen

Full-Stack Web Developer, specializing in React and Ruby on Rails.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store