<script language="JavaScript"> var array_1 = new Array('a','b','c'); document.write( array_1.shift() + '<br />' ); document.write( array_1 ); </script>
运行该例子,输出:
a b,c
0