<html> <body> <button onclick="var myA = new Array(10,11,12); myA.reverse(); alert(myA);">REVERSE</button> </body> </html>