how can we reverse a string half and half ,if it is in array form ,input xyzabc,output zyxcbain in JavaScript

By Jade

how can we reverse a string half and half ,if it is in array form ,input xyzabc,output zyxcbain in JavaScript

About the author
Jade

1 thought on “how can we reverse a string half and half ,if it is in array form ,input xyzabc,output zyxcbain in JavaScript<br />​”

  1. Answer:

    function reverseString(str) {

    return str;

    }

    reverseString(the string u wanna reverse);

    with built in function here ya go

    Reply

Leave a Comment