JavaScript 数组 shift 方法 JavaScript 数组反转 reverse JavaScript 数组切片 slice JavaScript 数组 shift 方法 <html> <head> <title>JavaScript Array shift Method</title> </head> <body> <script type = "text/javascript"> var element = [105, 1, 2, 3].shift(); document.write("Removed element is : " + element ); </script> </body> </html> JavaScript 数组反转 reverse JavaScript 数组切片 slice