JavaScript 数组反转 reverse Javascript 条件运算符 JavaScript 数组 shift 方法 JavaScript 数组反转 reverse <html> <head> <title>JavaScript Array reverse Method</title> </head> <body> <script type = "text/javascript"> var arr = [0, 1, 2, 3].reverse(); document.write("Reversed array is : " + arr ); </script> </body> </html> Javascript 条件运算符 JavaScript 数组 shift 方法