The easiest way to reverse a string
In JavaScript, we have many ways to reverse a string. In this article, I will be showing the easiest way to
Let's go... π
π
Probably, the simplest way to reverse a string is to split string to an array, reverse() it and join()
let string = "live...
h.dhairyashah.dev1 min read