Define a function named Reverse that takes a string as input and returns a copy of that

Question:

Define a function named Reverse that takes a string as input and returns a copy of that string in reverse order. For example, the function call Reverse('abcd') should return the string 'dcba'. Once you have developed this function, insert its definition into your string.js library file. Then, modify your strdemo.html page so that it also displays the reversed string when the button is clicked?

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: