Question : Reverse string by using split () method to convert our string into an array
Answered by : softhunt
var stringToArray = "softhunt".split("");
["s", "o", "f", "t", "h", "u", "n", "t"]
Source : https://softhunt.net/how-to-reverse-a-string-in-javascript/ | Last Update : Sun, 17 Apr 22