How to Reverse a String
Learn to use the Array.from, split, reverse and join methods
Published in
3 min readMay 11, 2021
In this article, we are going to reverse a string first using the for loop and then with the array methods. In both cases, we will take into consideration also characters that do not fit in 16-bits. In the end, you can decide which implementation fits your needs.