Class 8 Javascript | Reverse Number in Javascript | Array #javascript



Class 8 Javascript | Reverse Number in Javascript | Array #javascript

Class 8 Javascript | Reverse Number in Javascript | Array #javascript

Array.prototype.reverse()
The reverse() method reverses an array in place and returns the reference to the same array, the first array element now becoming the last, and the last array element becoming the first. In other words, elements order in the array will be turned towards the direction opposite to that previously stated.

Thank you ❣️

@Becoming_developer