Reverse the String: FeDev Style

Somebody threw the old "reverse string" question your way? Give'em something different.

by Travis Almand

JavaScript

function revStr (input) {
	 let el = document.createElement('div');
   el.innerHTML = '‮' + input;
   return el.innerHTML;
}

console.log(revStr('hello'));