<script type="text/javascript"> var arr=[1,2,3,4,5] arr.push(6,7) console.log(arr) </script>打印结果:[1,2,3,4,5,6,7]