reverse string function prototype to reverse a string. HTML <textarea></textarea> JavaScript alert("2efc".split("").reverse().join(""));