In this article I am going to explain how to reverse a given value.
Syntax of array reverse method
Revese method has no parameter.
Return value in reverse method
It returned the reversed single value of the array.
Example of reverse method
var val, rev;
val = new Array(1,2,3,4,5);
rev = val.reverse();
Ask Your Question
Got a programming related question? You may want to post your question here