reverse() method reverses the order of the elements in an array, i.e, The first array element becomes the last, and the last array element becomes the first.
Note: This method overwrites the original array.
Please do google search for:
Join Our Channel
This channel is primarily useful for Full Stack Web Developer.