There is an array
var array = ["qwe", "asd", "zxc"]; At the exit you need to get a full mirror response. those.
"cxz", "dsa", "ewq"
I know how to deploy the array, I did it, but I don’t quite understand how to turn the lines. There is such a solution:
var array=["qwe", "asd", "zxc"]; var a = array.reverse(); But I don’t know what to do with strings, please tell me the solutions.
I know that it is necessary to go through the array and each element of the array (line). Expand, expand the array and connect back to the string, but I don’t understand how to implement it.