<html> <head> <title>Reverse an Array</title> <script language="javascript" type="text/javascript"> <!-- var x = new Array(2,3,4); x.reverse(); alert(x); //--> </script> </head> <body> </body> </html>