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

Question

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

in progress 0
Jade 2 months 2021-08-01T10:34:10+00:00 1 Answers 0 views 0

Answers ( )

    0
    2021-08-01T10:35:37+00:00

    Answer:

    function reverseString(str) {

    return str;

    }

    reverseString(the string u wanna reverse);

    with built in function here ya go

Leave an answer

Browse

9:3-3+1x3-4:2 = ? ( )